If a page on your website doesn't load, an error message shall be shown to the visitor. Since there are different errors, there are different pages that will appear, but what's standard for all of them is that they're generic and most likely shall have practically nothing in common with the layout of your website, which may be irritating for any website visitor. This is the main reason why hosting companies have introduced a function known as Custom Error Pages. For a variety of different errors, website visitors shall see your customized content, which could be informative or witty, in accordance with your preference, and which will match the design of your website, so the pages won't appear as if they aren't part of your website at all. You may use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Hosting

The custom error pages function is available with every hosting package deal that we offer and you shall be able to replace all of the generic pages with your own with no more than a few mouse clicks in your Hepsia hosting Control Panel. You will have to develop the actual files and to upload them to your account, and then to set them for a specific domain or subdomain through the Hosted Domains section of the Hepsia CP. You can easily do this for every web site hosted inside the account separately, so that every set of personalized pages shall have the very same layout as the site 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. A different way to set custom 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 may simply copy the required code from our Help article about this.

Custom Error Pages in Semi-dedicated Hosting

All of our Linux semi-dedicated hosting packages support custom error pages, so you shall be able to employ this feature for every single domain or subdomain hosted inside your account. All it takes to do that is to check out the Hosted Domains section of the Hepsia CP, to click the Edit button linked to the given domain/subdomain and then to type the link to the custom-made file. You can do this independently for each error type. You shall be able to switch back to a standard error page anytime if necessary and the change will take effect right away. An alternative way to get the very same result is to put an .htaccess file inside the domain or subdomain folder associated with the web site that you would like to modify and to type in a few lines of program code in it. If you would like to try this method, you may copy and paste the required code from our Knowledge Base article on custom error pages, so you won't need any programming skills or prior experience.