When a page on your website doesn't load, an error message will be displayed to the site visitor. Since there are different errors, there are different pages that will appear, but what's standard for all of them is that they are generic and in all probability will have practically nothing that resembles the design of your Internet site, which could be aggravating for any visitor. This is the reason why hosting companies have introduced a function named Custom Error Pages. For a number of different errors, website visitors will see your custom content, which can be informative or humorous, depending on your choice, and which shall match the overall layout of your site, so the pages shall not appear as if they're not part of your website at all. You can 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

When you get a shared web hosting plan from our company, you shall be able to set personalized error pages for your Internet sites easily and quickly, since this feature is part of all our solutions. As soon as you have created the files and uploaded them to your website hosting account, you can go to the Hosted Domains section of your Hepsia CP and click on the Edit button for the specific domain or subdomain. In the pop-up which will be displayed, you shall see drop-down menus for all 4 types of errors and for each one of them you can select an Apache default page, a generic page from our system or a personalized page. In case you select the third option, you should simply enter the URL to the file that you have uploaded and save the change. Another way to set custom made error pages is to set up an .htaccess file in the domain or subdomain folder and to include several lines of code in it. If you don't have previous experience or if you are simply unsure how to do this, you could just copy/paste the code from our Knowledge Base article on that subject.