When a page on your site doesn't load, an error message shall be displayed to the site visitor. Since there are different errors, there are different pages which will show up, but what's common for all of them is that they're generic and almost certainly will have nothing in common with the design of your site, which could be irritating for any website visitor. This is the primary reason why hosting companies have introduced a feature named Custom Error Pages. For a number of different errors, website visitors will see your custom content, which could be informative or funny, based on your preference, and which shall match the overall style and design of your site, so the pages shall not look like they aren't part of your 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 Website Hosting
You shall be able to set up customized error pages for each of your domains or subdomains. The feature is supported by all website hosting
plans that we provide, so when you log in to your Hepsia CP and visit the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up which will show up, you could choose the kind of error page which should appear - a default one from our system, a standard Apache server page or a personalized one. For the latter alternative, you'll have to assign the URL to the page, so if you use customized pages, you need to upload the files in your Internet hosting account first. An alternative way is to use an .htaccess file located inside the domain or subdomain folder with a line for each error type. The precise syntax can be seen in our Knowledge Base, to help you use this feature even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Hosting
If you host your websites in a semi-dedicated server
account with us, you can set customized error pages for any of them with ease via our in-house built Hepsia hosting CP. With only a few mouse clicks in the Hosted Domains section, you can change the default setting from a system page to a tailor-made one for each of the four error types. All you need to do is provide a link to every single file which you have uploaded before that and then save the change. If required, you will be able to revert this change at any time and in exactly the same way. If you wish, you may use an .htaccess file as well. It should be created/uploaded inside the domain or subdomain folder linked to the site whose error pages you intend to alter and the content for this type of file can be found in our Help article about this matter.