Each time a page on your site doesn't load, an error message shall be shown to the website visitor. Because there are different errors, there are different pages which will appear, but what's typical for all of them is that they're generic and probably shall have absolutely nothing in common with the design of your Internet site, which could be aggravating for any visitor. That is the reason why website hosting service providers have introduced a function known as Custom Error Pages. For a range of different errors, website visitors will see your custom made content, which can be informative or funny, based on your personal preference, and that will match the style and design of your Internet site, so the pages shall not seem like they aren't part of your website at all. You could use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Web Hosting

You'll be able to set up custom error pages for all of your domains or subdomains. The feature is supported by all shared web hosting plans that we provide, so once you log in to the Hepsia CP and navigate to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that will be displayed, you can select the sort of error page which should show up - a default one from our system, a standard Apache server page or a custom one. For the latter alternative, you need to specify the URL to the page, so if you use customized pages, you need to upload the files inside your web hosting account first. Another way is to use an .htaccess file located in the domain or subdomain folder with a line for each and every error type. The actual syntax can be seen in our Knowledge Base, so 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 websites in a semi-dedicated server account from us, you may set custom error pages for each of them easily via our in-house developed Hepsia hosting CP. With only a few clicks inside the Hosted Domains section, you'll be able to modify the default setting from a system page to a custom made one for any of the 4 error types. All you need to do is supply a link to every file you have uploaded before that and then save the change. If needed, you will be able to revert this customization whenever you want and in exactly the same way. If you want, you could use an .htaccess file as well. It should be created/uploaded within the domain or subdomain folder linked to the website whose error pages you intend to change and the content for this type of file can be found in our Help article for this matter.