Whenever a page on your website does not load, an error message shall be shown to the site visitor. As there are different errors, there are different pages which will display, but what is standard for all of them is that they are generic and probably shall have practically nothing in common with the design of your site, which can be aggravating for any website visitor. That is the main reason why hosting service providers have introduced a feature called Custom Error Pages. For a number of different errors, site visitors shall see your custom made content, which can be informative or witty, in accordance with your choice, and that will match the overall design and style of your website, so the pages shall not seem like they aren't part of your Internet site at all. You may use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Hosting
If you buy a Linux hosting from our company, you'll be able to set customized error pages for your websites easily and quickly, as this feature is part of all our solutions. After you've created the files and uploaded them to your web hosting account, you can check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the specific domain or subdomain. In the pop-up which will be displayed, you will see drop-down options menus for all 4 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 page. If you pick the 3rd option, you should simply type the URL to the file that you have uploaded then save the change. One other way to set custom made error pages is to set up an .htaccess file in the domain or subdomain folder and to include a couple of lines of program code in it. If you do not have prior experience or if you're simply unsure how to do this, you can just copy/paste the code from our Knowledge Base article on that matter.