When a page on your website doesn't load, an error message shall be displayed to the site visitor. Since there are different errors, there are different pages that will show up, but what is typical for all of them is that they are generic and probably will have practically nothing that is similar to the design of your site, which could be aggravating for any visitor. That is the main reason why hosting service providers have introduced a function named Custom Error Pages. For a number of different errors, visitors will see your custom made content, which can be informative or humorous, in accordance with your personal preference, and that will match the overall design and style of your site, so the pages shall not look like they are not part of your website at all. You could use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Web Hosting

If you acquire a shared web hosting from our company, you shall be able to set personalized error pages for your sites fast and easy, since this function is part of all of our solutions. After you've created the files and uploaded them to your web hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the selected domain or subdomain. Inside the pop-up that will be displayed, you shall 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 personalized page. Should you select the third option, you should simply enter the URL to the file that you have uploaded and save the change. One other way to set custom error pages is to create an .htaccess file in the domain or subdomain folder and to add a few lines of code in it. If you do not have preceding experience or if you're just uncertain how to do that, you can just copy/paste the code from our Knowledge Base article on that topic.