Whenever a page on your site doesn't load, an error message shall be displayed to the site visitor. As there are different errors, there are different pages which will show up, but what is standard for all of them is that they're generic and in all probability shall have nothing that resembles the design of your website, which may be aggravating for any website visitor. This is the main reason why website hosting service providers have introduced a function called Custom Error Pages. For a range of different errors, site visitors shall see your unique content, which can be informative or amusing, depending on your personal preference, and that will match the overall layout of your Internet site, so the pages will not appear as if they are not part of your 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 Web Hosting

If you acquire a shared web hosting from us, you shall be able to set custom error pages for your sites fast and easy, because this feature is part of all of our plans. As soon as you have created the files and uploaded them to your web hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the selected domain or subdomain. In the pop-up which will appear, you will see drop-down menus for all four types of errors and for each one of them you can pick an Apache default page, a generic page from our system or a custom made page. Should you select the 3rd option, you should only enter the URL to the file that you've uploaded and save the change. Another way to set custom made error pages is to set up an .htaccess file in the domain or subdomain folder and to include several lines of code in it. If you don't have prior 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.

Custom Error Pages in Semi-dedicated Servers

When you host your websites in a semi-dedicated server account with our company, you could set personalized error pages for any of them effortlessly via our in-house developed Hepsia hosting CP. With only several mouse clicks inside the Hosted Domains section, you are able to change the default setting from a system page to a custom made one for each of the four error types. All you need to do is supply a link to each file that you've uploaded before that and then save the change. If required, you shall be able to revert this change at any time and in exactly the same way. If you wish, you may use an .htaccess file too. It has to be created/uploaded in the domain or subdomain folder related to the internet site whose error pages you intend to change and the content for this kind of file can be found in our Help article about this matter.