If a page on your site does not load, an error message shall be displayed to the visitor. Since there are different errors, there are different pages that will display, but what is typical for all of them is that they are generic and in all probability shall have absolutely nothing that is similar to the layout of your website, which can be irritating for any website visitor. That is the primary reason why hosting companies have introduced a function called Custom Error Pages. For a range of different errors, visitors shall see your custom content, which could be informative or amusing, depending on your preference, and that will match the overall design of your website, so the pages shall not seem like they're not part of your Internet site at all. You could use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Cloud Hosting

If you buy a Linux cloud hosting from our company, you'll be able to set customized error pages for your Internet sites easily, because this function is a part of all our solutions. The moment you've 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 selected domain or subdomain. In the pop-up that will be displayed, you'll see drop-down options menus for all four types of errors and for each one of them you may select an Apache default page, a generic page from our system or a custom made page. In case you pick the third option, you should only enter the URL to the file that you've uploaded then 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. In case you don't have preceding experience or if you're simply uncertain how to do that, you can just copy and paste the code from our Knowledge Base article on that subject.