If a particular page on a site doesn't load for some reason or if a link is not working, 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, that could make the visitor leave the website. A possible solution in such a case is a feature made available from some hosting service providers - the option to set your own custom-made error pages which will have exactly the same layout as your website and that could contain any text or images that you'd like depending on the specific error. There are four standard errors that could take place and they involve these so-called HTTP status codes - 400, when your web browser sends a bad request to the hosting server and it cannot be processed; 401, in case you are supposed to log in to see some page, but you have not done so yet; 403, if you don't have an authorization to view a specific page; and 404, when a link which you have clicked leads to a file that does not exist. In any of these situations, website visitors will be able to see your personalized content rather than a generic error page.

Custom Error Pages in Cloud Hosting

You'll be able to set up custom error pages for all of your domains or subdomains. The feature is supported by all cloud hosting plans which we provide, so as soon as you log in to the Hepsia Control Panel and visit the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up which will appear, you may select the sort of error page which should show up - a default one from our system, a standard Apache server page or a custom one. For the latter option, you will need to specify the URL to the page, so when you use personalized pages, you need to upload the files in 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 error type. The correct syntax can be found in our Knowledge Base, to help you use this function even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Servers

If you host your web sites in a semi-dedicated server account from us, you may set customized error pages for each of them effortlessly via our in-house developed Hepsia hosting Control Panel. With just a few mouse clicks inside the Hosted Domains section, you could change the default setting from a system page to a personalized one for any of the four error types. All you must do is provide a link to every single file which you have uploaded before that and then save the change. If required, you shall be able to revert this modification at any time and in exactly the same way. If you wish, you may use an .htaccess file too. It must be created/uploaded within the domain or subdomain folder related to the internet site whose error pages you intend to modify and the content for such a file can be found in our Help article for this matter.