If a particular page on a site doesn't load for some reason or if a link is broken, the site visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the Internet site, which can make the visitor leave your site. A potential solution in such a case is a feature made available from some web hosting service providers - the ability to set up your own custom error pages that will have the same style and design as your site and which can contain any text or images that you would like depending on the particular error. There are 4 common errors which may occur and they involve the following so-called HTTP status codes - 400, when your web browser sends a bad request to the hosting server and it can't be processed; 401, in case you are supposed to log in to see a page, but you haven't done this yet; 403, if you do not have an authorization to view a particular page; and 404, in case a link which you have clicked leads to a file that doesn't exist. In any of these scenarios, website visitors shall be able to see your custom content instead of a generic error page.

Custom Error Pages in Website Hosting

You can set up custom error pages for any of your websites with ease if you use any of our Linux website hosting. This could be done using the Hosted Domains section of the Hepsia CP, provided with all accounts as soon as you go there, you could set your custom made pages independently for any domain or subdomain. You have to upload the files to your account ahead of time and input the links to them during the process. This feature can be de-activated whenever you want and the options you shall be able to to pick from are a standard page from our system or a default Apache server page. Custom error pages can be set with an .htaccess file too. The file should be put into the domain or subdomain folder and it should incorporate some system code and links to the pages. If you aren't tech-savvy, you can copy the entire content you'll need for the file from our Help section.

Custom Error Pages in Semi-dedicated Hosting

When you host your sites in a semi-dedicated server account with us, you'll be able to set customized error pages for each of them with ease through our in-house made Hepsia hosting CP. With only several mouse clicks inside the Hosted Domains section, you are able to edit the default setting from a system page to a tailor-made one for any of the 4 error types. All you need to do is supply a link to each and every file you have uploaded before that and then save the change. If required, you will be able to revert this customization anytime and in exactly the same way. If you would like, you could use an .htaccess file as well. It must be created/uploaded in the domain or subdomain folder belonging to the internet site whose error pages you intend to modify and the content for this kind of file can be found in our Help article about this matter.