Each time a page on your Internet site doesn't load, an error message shall be displayed to the site visitor. Because there are different errors, there are different pages which will display, but what is typical for all of them is that they are generic and most likely shall have nothing that is similar to the design of your site, which may be irritating for any website visitor. That is the primary reason why website hosting providers have introduced a function referred to as Custom Error Pages. For a range of different errors, site visitors shall see your custom made content, which could be informative or humorous, depending on your choice, and that will match the layout of your site, so the pages shall not seem like they aren't part of your Internet site at all. You could use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Website Hosting

When you purchase a shared website hosting from us, you'll be able to set customized error pages for your sites easily, because this function is a part of all of our plans. The moment you've created the files and uploaded them to your 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 that will appear, you shall see drop-down options menus for all 4 sorts of errors and for each of them you can choose an Apache default page, a generic page from our system or a custom made page. Should you select the 3rd option, you should just type the URL to the file you have uploaded and save the change. One other way to set customized error pages is to create an .htaccess file in the domain or subdomain folder and to include several lines of program code in it. If you do not have previous experience or if you're simply not sure how to do that, you may simply copy/paste the code from our Knowledge Base article on that topic.