When a page on your site does not load, an error message shall be displayed to the site visitor. Because there are different errors, there are different pages which will show up, but what is typical for all of them is that they're generic and in all probability shall have practically nothing in common with the design of your website, which can be irritating for any website visitor. That is the primary reason why hosting service providers have introduced a function referred to as Custom Error Pages. For a wide variety of different errors, website visitors shall see your unique content, which may be informative or humorous, depending on your preference, and which shall match the overall layout of your website, so the pages will not appear as if they aren't part of your Internet site at all. You can use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Website Hosting

If you acquire a Linux website hosting package from us, you'll be able to set customized error pages for your Internet sites easily and quickly, as this feature is part of all our solutions. The moment you've created the files and uploaded them to your hosting account, you can go to the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the specific domain or subdomain. Inside the pop-up which will be displayed, you shall see drop-down menus for all 4 sorts of errors and for each one of them you could select an Apache default page, a generic page from our system or a custom made page. If you select the 3rd option, you should just input the URL to the file that you've uploaded and save the change. Another way to set customized error pages is to set up an .htaccess file inside the domain or subdomain folder and to add a few lines of program code in it. If you don't have preceding experience or if you're simply not sure how to do this, you could just copy/paste the code from our Knowledge Base article on that subject.