Each time a page on your website doesn't load, an error message shall be displayed 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 absolutely nothing in common with the layout of your website, which can be frustrating for any website visitor. That is the main reason why hosting companies have introduced a feature named Custom Error Pages. For a variety of different errors, website visitors shall see your custom content, which could be informative or humorous, in accordance with your choice, and which shall match the overall design and style of your site, so the pages won't seem like they aren't part of your Internet site at all. You may use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Website Hosting

If you purchase a shared website hosting from us, you shall be able to set customized error pages for your Internet sites easily, because this function is part of all our solutions. As soon as you have 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 particular domain or subdomain. In the pop-up that will appear, you'll see drop-down menus for all 4 sorts 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. If you choose the third option, you should simply type the URL to the file which you have uploaded and save the change. Another way to set custom error pages is to set up an .htaccess file inside the domain or subdomain folder and to add several lines of program code in it. If you don't have preceding experience or if you are just unsure how to do this, you could simply copy and paste the code from our Knowledge Base article on that matter.