When a page on your website does not load, an error message will be shown to the site visitor. Because there are different errors, there are different pages that'll appear, but what's standard for all of them is that they are generic and probably shall have nothing that resembles the layout of your site, which could be frustrating for any visitor. That is the primary reason why hosting providers have introduced a feature referred to as Custom Error Pages. For a range of different errors, website visitors shall see your custom made content, which could be informative or humorous, in accordance with your choice, and which will match the overall layout of your Internet site, so the pages will not seem like they're not part of your site at all. You could use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Cloud Hosting
When you order a cloud hosting from us, you will be able to set personalized error pages for your websites quickly and easily, as this function is part of all of our packages. After you have created the files and uploaded them to your web hosting account, you can go to the Hosted Domains section of your Hepsia CP and click on the Edit button for the selected domain or subdomain. Inside the pop-up which will appear, you'll see drop-down menus for all 4 kinds of errors and for each one of them you can choose an Apache default page, a generic page from our system or a tailor-made page. Should you pick the third option, you should just input the URL to the file you have uploaded then save the change. A different way to set custom error pages is to set up an .htaccess file in the domain or subdomain folder and to include a few lines of code in it. If you don't have preceding experience or if you're simply uncertain how to do this, you could simply copy and paste the code from our Knowledge Base article on that topic.
Custom Error Pages in Semi-dedicated Servers
All of our semi-dedicated servers support custom made error pages, so you will be able to employ this feature for any domain or subdomain hosted in your account. All it takes to do that is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button linked to the given domain/subdomain and then to enter the link to the custom file. You'll be able to do this individually for each error type. You'll be able to switch back to a default error page anytime if necessary and the change shall take effect instantly. An alternative way to get the same result is to place an .htaccess file in the domain or subdomain folder of the website which you want to modify and to type in a few lines of program code within it. If you need to try this method, you can copy and paste the needed code from our Knowledge Base article on custom error pages, so you shall not need any programming skills or previous experience.