If a page on your website does not load, an error message shall be shown to the visitor. Since there are different errors, there are different pages that'll show up, but what is common for all of them is that they're generic and in all probability will have nothing that is similar to the layout of your site, which could be frustrating for any visitor. This is the reason why web hosting service providers have introduced a function called Custom Error Pages. For a number of different errors, visitors shall see your custom content, which may be informative or funny, depending on your choice, and which will match the overall design and style of your website, so the pages shall not look like they aren't part of your site at all. You may use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Web Hosting

The custom error pages function is offered with each web hosting package deal which we offer and you'll be able to substitute all the generic pages with your own with no more than several mouse clicks in your Hepsia hosting Control Panel. You'll need to produce the actual files and to upload them to your account, and then to set them for a specific domain or subdomain from the Hosted Domains section of the Hepsia Control Panel. You can easily do this for each site hosted inside the account separately, so that each group of custom made pages will have the same design and style as the Internet site it is part of. When necessary, you could always go back to a default page from our system or to the default Apache server page. Another way to set custom made error pages is to create an .htaccess file inside the domain/subdomain root folder and to include a few lines in it. If you have never done this before, you can simply copy the necessary program code from our Help article about the subject.

Custom Error Pages in Semi-dedicated Servers

Our semi-dedicated servers support customized error pages, so you'll be able to employ this feature for any domain or subdomain hosted in your account. All it will take to do this is to check out the Hosted Domains section of the Hepsia CP, to click the Edit button related to the given domain/subdomain and to input the link to the custom-made file. You could do this individually for every error type. You will be able to switch back to a standard error page at any time if required and the change will take effect straightaway. Another way to achieve the very same result is to place an .htaccess file in the domain or subdomain folder related to the Internet site which you'd like to edit and to input a couple of lines of program code in it. If you would like to try this method, you can copy and paste the necessary code from our Knowledge Base article on custom error pages, thus you will not need any computer programming skills or prior experience.