When a page on your website does not load, an error message shall be shown to the visitor. As there are different errors, there are different pages which will display, but what's typical for all of them is that they're generic and in all probability will have practically nothing that resembles the layout of your website, which could be annoying for any visitor. That is the primary reason why web hosting companies have introduced a feature called Custom Error Pages. For a number of different errors, site visitors will see your custom made content, which can be informative or amusing, in accordance with your personal preference, and that will match the style and design of your website, so the pages shall not look like they are not part of your Internet site at all. You may use this option for a variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Website Hosting

You'll be able to set up custom made error pages for each of your domains or subdomains. The feature is supported by all shared website hosting plans which we provide, so once you log in to your Hepsia Control Panel and navigate to the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that"ll appear, you may select the sort of error page which should appear - a default one from our system, a standard Apache web server page or a custom one. For the aforementioned option, you need to assign the URL to the page, so if you use customized pages, you need to upload the files in your hosting account first. One other way is to use an .htaccess file positioned in the domain or subdomain folder with a line for every error type. The precise syntax can be seen in our Knowledge Base, so that you can use this function even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

If you host your Internet sites in a semi-dedicated server account with our company, you can set customized error pages for any of them with ease via our in-house built Hepsia hosting CP. With a few mouse clicks inside the Hosted Domains section, you'll be able to edit the default setting from a system page to a custom made one for any of the four error types. All you must do is supply a link to each file that you've uploaded before that and then save the change. If necessary, you shall be able to revert this customization whenever you want and in exactly the same way. If you want, you may use an .htaccess file as well. It must be created/uploaded in the domain or subdomain folder belonging to the website whose error pages you would like to modify and the content for this sort of file can be found in our Help article on this matter.