If a page on your site does not load, an error message shall be displayed to the site visitor. As there are different errors, there are different pages which will appear, but what's common for all of them is that they're generic and probably will have absolutely nothing in common with the layout of your website, which could be annoying for any website visitor. This is the main reason why web hosting service providers have introduced a function referred to as Custom Error Pages. For a variety of different errors, site visitors shall see your customized content, which may be informative or witty, based on your preference, and that will match the style and design of your site, so the pages will not look like they are not part of your site at all. You can 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 any of your domains or subdomains. The function is supported by all shared web hosting plans which we provide, so as soon as you log in to the Hepsia Control Panel and visit the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that"ll show up, you can select the sort of error page that should appear - a default one from our system, a typical Apache web server page or a custom one. For the aforementioned option, you have to specify the URL to the page, so if you use custom pages, you have to upload the files inside your hosting account first. One other way is to use an .htaccess file placed in the domain or subdomain folder with a line for every error type. The correct syntax can be seen in our Knowledge Base, so that you can use this feature even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

All of our Linux semi-dedicated hosting support custom made error pages, so you shall be able to use this function for each domain or subdomain hosted in your account. All it takes to do that is to check out the Hosted Domains section of the Hepsia CP, to click on the Edit button related to the given domain/subdomain and to type in the link to the custom file. You can do this separately for every error type. You shall be able to switch back to a standard error page at any time if needed and the change will take effect immediately. A different way to achieve the same result is to put an .htaccess file in the domain or subdomain folder associated with the website that you would like to edit and to type in a few lines of code in it. If you'd like to try this method, you could copy and paste the required code from our Knowledge Base article on custom error pages, which means that you won't need any computer programming skills or previous experience.