When a page on your site does not load, an error message will be shown to the visitor. Because there are different errors, there are different pages that will show up, but what is typical for all of them is that they're generic and almost certainly will have nothing that resembles the design of your website, which may be annoying for any site visitor. This is the reason why web hosting service providers have introduced a feature called Custom Error Pages. For a number of different errors, website visitors will see your custom made content, which may be informative or amusing, based on your personal preference, and that will match the overall layout of your website, so the pages will not appear as if they aren't part of your site at all. You can use this option for a variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Shared Hosting
When you obtain a Linux shared hosting package from our company, you shall be able to set personalized error pages for your websites easily, as this feature is part of all our solutions. As soon as you've created the files and uploaded them to your web hosting account, you can go to the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the particular domain or subdomain. Inside the pop-up which will be displayed, you will see drop-down menus for all 4 kinds of errors and for each of them you can choose an Apache default page, a generic page from our system or a custom made page. In case you pick the third option, you should just enter the URL to the file which you have uploaded then save the change. One other way to set customized error pages is to create an .htaccess file inside the domain or subdomain folder and to include several lines of program code in it. If you don't have prior experience or if you are just uncertain how to do that, you may simply copy/paste the code from our Knowledge Base article on that subject.
Custom Error Pages in Semi-dedicated Hosting
When you host your web sites in a semi-dedicated server account from us, you could set tailor-made error pages for any of them easily using our custom Hepsia hosting CP. With a few clicks in the Hosted Domains section, you are able to edit the default setting from a system page to a custom one for any of the four error types. All you must do is provide a link to every file which you have uploaded before that and then save the change. If needed, you will be able to revert this customization whenever you want and in exactly the same way. If you want, you could use an .htaccess file as well. It has to be created/uploaded inside the domain or subdomain folder belonging to the internet site whose error pages you would like to change and the content for such a file can be found in our Help article about this matter.