Each time a page on your site doesn't load, an error message will be shown to the visitor. Since there are different errors, there are different pages that'll display, but what is common for all of them is that they're generic and probably will have practically nothing in common with the layout of your Internet site, which could be annoying for any visitor. This is the main reason why website hosting providers have introduced a function called Custom Error Pages. For a wide variety of different errors, visitors will see your custom content, which could be informative or witty, in accordance with your choice, and that will match the overall layout of your site, so the pages will not appear as if they're not part of your website 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
When you obtain a cloud website hosting plan from us, you'll be able to set customized error pages for your Internet sites easily and quickly, because this feature is part of all our plans. As soon as you have created the files and uploaded them to your hosting account, you should check out 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 that will be displayed, you shall see drop-down menus for all 4 kinds of errors and for each one of them you can pick an Apache default page, a generic page from our system or a customized page. Should you choose the 3rd option, you should just enter the URL to the file that you've uploaded then save the change. Another way to set customized 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. In case you don't have preceding experience or if you are simply unsure how to do that, you may simply copy/paste the code from our Knowledge Base article on that subject.