Whenever a page on your website does not load, an error message will be shown to the site visitor. As there are different errors, there are different pages that'll appear, but what is common for all of them is that they are generic and probably shall have nothing in common with the design of your site, which may be frustrating for any visitor. That is the primary reason why hosting service providers have introduced a feature known as Custom Error Pages. For a wide variety of different errors, site visitors shall see your customized content, which can be informative or amusing, based on your choice, and that will match the overall layout of your website, so the pages will not seem like they're not part of your Internet site at all. You may use this option for many 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 error pages for any of your domains or subdomains. The feature is supported by all shared website hosting solutions which we offer, so when you log in to your Hepsia CP and go to the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up which will be displayed, you could choose the type of error page that should appear - a default one from our system, a typical Apache web server page or a personalized one. For the latter alternative, you must specify the URL to the page, so if you use custom made pages, you have to upload the files inside your website hosting account first. Another way is to use an .htaccess file placed inside the domain or subdomain folder with a line for each error type. The exact syntax can be seen in our Knowledge Base, to help you use this function even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Servers

If you host your Internet sites in a semi-dedicated server account from our company, you may set personalized error pages for any of them with ease through our custom Hepsia hosting CP. With a few mouse clicks inside the Hosted Domains section, you are able to edit the default setting from a system page to a customized one for each of the 4 error types. All you should do is supply a link to every single file which you have uploaded before that and then save the change. If required, you shall be able to revert this modification whenever you want and in exactly the same way. If you would like, you may use an .htaccess file as well. It should be created/uploaded in the domain or subdomain folder belonging to the website whose error pages you would want to modify and the content for such a file can be found in our Help article for this matter.