When a page on your Internet site does not load, an error message will be displayed to the visitor. As there are different errors, there are different pages that'll display, but what is standard for all of them is that they're generic and probably will have practically nothing that resembles the design of your site, which could be annoying for any site visitor. That is the primary reason why hosting service providers have introduced a feature called Custom Error Pages. For a range of different errors, website visitors will see your custom content, which can be informative or funny, based on your choice, and which will match the style and design of your website, so the pages shall not appear as if they're not part of your website at all. You may use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Web Hosting

When you purchase a Linux web hosting service from our company, you will be able to set customized error pages for your sites easily, because this function is a part of all our solutions. The moment you have created the files and uploaded them to your website hosting account, you can check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. In the pop-up which will show up, you will see drop-down options menus for all 4 sorts of errors and for each of them you may select an Apache default page, a generic page from our system or a custom page. In case you select the 3rd option, you should only input the URL to the file which you have uploaded then save the change. Another way to set personalized 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 do not have previous experience or if you are simply unsure how to do that, you could simply copy and paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Hosting

All of the Linux semi-dedicated hosting that we offer support tailor-made error pages and it shall not take more than a few clicks from your Hepsia hosting Control Panel to use this functionality. The option is available in the Hosted Domains section of your CP where you will have to input the links to the custom-made files through basic drop-down menus and a time and effort saving interface. Needless to say, you must upload them to your account before that. If you don't need to employ this function at some point, you can easily disable it just as quickly and select an Apache server page or a default page from our system to be viewable if your visitors encounter an error. If you'd like to, you can also use an .htaccess file to enable the custom error pages. The file has to have a particular line of code plus a link for every error type and you can easily find an example of the whole content for all four error types in our Help section.