When a page on your site doesn't load, an error message shall be shown to the visitor. As there are different errors, there are different pages that will display, but what is standard for all of them is that they are generic and in all probability shall have nothing in common with the layout of your site, which could be aggravating for any website visitor. This is the reason why hosting service providers have introduced a feature called Custom Error Pages. For a range of different errors, site visitors will see your custom made content, which may be informative or amusing, based on your taste, and that will match the overall design of your Internet site, so the pages will not seem like they aren't part of your site at all. You could use this option for a variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Cloud Website Hosting
If you get a cloud website hosting plan from us, you shall be able to set customized error pages for your Internet sites easily and quickly, as this feature is a part of all of our packages. Once you've 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 specific domain or subdomain. Inside the pop-up that will appear, you will see drop-down options menus for all 4 types of errors and for each of them you could choose an Apache default page, a generic page from our system or a custom made page. If you select the 3rd option, you should just enter the URL to the file which you have uploaded and save the change. A different way to set personalized error pages is to create an .htaccess file inside the domain or subdomain folder and to include a couple of lines of program code in it. If you don't have previous experience or if you are just not sure how to do that, you may just copy and paste the code from our Knowledge Base article on that topic.