Each time a page on your Internet site does not load, an error message shall be displayed to the visitor. Since there are different errors, there are different pages that will appear, but what is typical for all of them is that they are generic and almost certainly will have absolutely nothing in common with the design of your website, which can be frustrating for any visitor. That is the main reason why web hosting service providers have introduced a function named Custom Error Pages. For a wide variety of different errors, website visitors shall see your customized content, which may be informative or witty, based on your choice, and which will match the style and design of your site, so the pages won't look like they aren't part of your Internet site 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 Cloud Hosting
You shall be able to set up personalized error pages for each of your domains or subdomains. The function is supported by all cloud hosting
solutions which we provide, so after 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 which will appear, you may select the kind of error page which should appear - a default one from our system, a typical Apache web server page or a custom one. For the aforementioned alternative, you will need to specify the URL to the page, so if you use custom pages, you need to upload the files inside your website hosting account first. One other way is to use an .htaccess file placed in 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 you can use this function 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 from our company, you may set custom error pages for each of them with ease using our in-house created Hepsia hosting Control Panel. With only a couple of mouse clicks inside the Hosted Domains section, you could edit the default setting from a system page to a custom made one for each of the 4 error types. All you have to do is provide a link to each file which you have uploaded before that and then save the change. If necessary, you'll be able to revert this change whenever you want and in exactly the same way. If you wish, you could use an .htaccess file as well. It has to be created/uploaded inside the domain or subdomain folder related to the internet site whose error pages you intend to modify and the content for such a file can be found in our Help article on this matter.