Each time a page on your site doesn't load, an error message will be shown to the website visitor. Since there are different errors, there are different pages which will display, but what is common for all of them is that they're generic and probably will have absolutely nothing that is similar to the design of your website, which could be aggravating for any site visitor. This is the main reason why web hosting service providers have introduced a function called Custom Error Pages. For a number of different errors, site visitors will see your custom content, which could be informative or witty, in accordance with your taste, and which shall match the overall layout of your website, so the pages will not appear as if they aren't part of your website at all. You can 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 Web Hosting
You shall be able to set up customized error pages for all of your domains or subdomains. The feature is supported by all shared web hosting plans which we offer, so after you log in to your Hepsia CP and visit the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up which will show up, you can select the kind of error page which should show up - a default one from our system, a standard Apache web server page or a personalized one. For the last mentioned option, you'll have to specify the URL to the page, so when you use customized pages, you must upload the files in your Internet hosting account first. An alternative way is to use an .htaccess file placed inside the domain or subdomain folder with a line for each and every error type. The exact syntax can be located in our Knowledge Base, so that you can use this feature even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Servers
When you host your web sites in a semi-dedicated server account from us, you could set custom error pages for any of them easily using our in-house developed Hepsia hosting CP. With just a couple of mouse clicks inside the Hosted Domains section, you can change the default setting from a system page to a tailor-made one for any of the 4 error types. All you should do is supply a link to each and every file that you've uploaded before that and then save the change. If required, you shall be able to revert this customization whenever you want and in exactly the same way. If you want, you can use an .htaccess file as well. It has to be created/uploaded in the domain or subdomain folder belonging to the site whose error pages you would like to alter and the content for this type of file can be found in our Help article on this matter.