When a page on your website does not load, an error message shall be displayed to the visitor. Because there are different errors, there are different pages which will appear, but what is standard for all of them is that they're generic and in all probability will have nothing in common with the design of your Internet site, which may be irritating for any visitor. That is the reason why hosting providers have introduced a feature known as Custom Error Pages. For a wide variety of different errors, site visitors will see your custom content, which can be informative or funny, depending on your personal preference, and that will match the style and design of your website, so the pages won't seem like they're not part of your website 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 Web Hosting

The customized error pages function is available with each and every web hosting plan we offer and you'll be able to substitute all the generic pages with your own with no more than a few mouse clicks inside your Hepsia website hosting CP. You shall need to create the actual files and to upload them to your account, then to set them for a specific domain or subdomain from the Hosted Domains section of the Hepsia Control Panel. You can do this for each Internet site hosted in the account individually, so that each set of custom pages shall have the exact same style and design as the website it is part of. When necessary, you may always return back to a default page from our system or to the default Apache server page. One other way to set custom made error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you haven't done this before, you could simply copy the necessary program code from our Help article on the subject.

Custom Error Pages in Semi-dedicated Hosting

All of our Linux semi-dedicated hosting support tailor-made error pages, so you will be able to employ this feature for every single domain or subdomain hosted in your account. All it will take to do that is to visit the Hosted Domains section of the Hepsia Control Panel, to click the Edit button associated with the given domain/subdomain and then to type in the link to the custom-made file. You could do this independently for each and every error type. You will be able to switch back to a generic error page at any time if needed and the change will take effect immediately. An alternative way to achieve the very same result is to set an .htaccess file in the domain or subdomain folder related to the web site which you want to modify and to type in a few lines of code in it. If you would like to try this method, you could copy and paste the needed code from our Knowledge Base article on custom error pages, hence you'll not need any computer programming skills or prior experience.