If a certain page on an Internet site doesn't load for some reason or if a link is broken, the website visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the site, which can make the visitor leave your website. A possible solution in cases like this is a function offered by some website hosting companies - the ability to set up your own custom error pages which will have the same style and design as your website and which may contain any images or text that you'd like dependent upon the specific error. There are four standard errors which could occur and they involve these particular so-called HTTP status codes - 400, when your Internet browser sends a bad request to the hosting server and it can't be processed; 401, if you are supposed to log in to see a webpage, but you have not done this yet; 403, if you don't have a permission to view a specific page; and 404, if a link which you have clicked leads to a file that doesn't exist. In each of these situations, visitors will be able to see your custom made content instead of a generic error page.

Custom Error Pages in Web Hosting

You will be able to set up customized error pages for all of your domains or subdomains. The feature is supported by all web hosting plans which we offer, so once you log in to the Hepsia CP and navigate to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will be displayed, you may select the sort of error page that should show up - a default one from our system, a typical Apache web server page or a customized one. For the last mentioned option, you must specify the URL to the page, so when you use customized pages, you have to upload the files inside your web hosting account first. Another way is to use an .htaccess file located in the domain or subdomain folder with a line for each and every error type. The exact syntax can be found in our Knowledge Base, so you can use this feature even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

When you host your Internet sites in a semi-dedicated server account from our company, you could set custom error pages for each of them easily using our in-house created Hepsia hosting CP. With just several mouse clicks in the Hosted Domains section, you can modify the default setting from a system page to a tailor-made one for each of the 4 error types. All you need to do is supply a link to every file which you have uploaded before that and then save the change. If needed, you shall be able to revert this modification whenever you want and in exactly the same way. If you would like, you can use an .htaccess file as well. It must be created/uploaded in the domain or subdomain folder related to the website whose error pages you would like to modify and the content for this kind of file can be found in our Help article for this matter.