If a certain page on a website does not load for some reason or if a link is not working, the website visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the website, which could make the visitor leave your site. A likely solution in such a case is a feature offered by some hosting companies - the ability to set up your own custom error pages that shall have exactly the same layout as your site and which could contain any images or text that you would like dependent upon the particular error. There are four common errors that could take place and they involve these particular so-called HTTP status codes - 400, when your browser sends a bad request to the web server and it cannot be processed; 401, if you are supposed to log in to see a web page, but you haven't done so yet; 403, if you do not have a permission to see a particular page; and 404, in case a link that you've clicked leads to a file that doesn't exist. In any of these cases, visitors shall be able to see your personalized content as opposed to a generic error page.

Custom Error Pages in Cloud Hosting

You will be able to set up customized error pages for all of your domains or subdomains. The function is supported by all cloud hosting solutions which we offer, so after you log in to your Hepsia CP and visit the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that"ll be displayed, you may select the kind of error page that should show up - a default one from our system, a standard Apache web server page or a customized one. For the last mentioned option, you'll have to specify the URL to the page, so if you use custom made pages, you have to upload the files inside your Internet 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 precise syntax can be seen in our Knowledge Base, to help you use this feature 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 can set tailor-made error pages for any of them easily using our in-house built Hepsia hosting Control Panel. With only a few clicks inside the Hosted Domains section, you can modify the default setting from a system page to a personalized one for any of the 4 error types. All you should do is supply a link to every single file which you have uploaded before that and then save the change. If necessary, you shall be able to revert this change anytime and in exactly the same way. If you prefer, you could use an .htaccess file too. It must be created/uploaded within the domain or subdomain folder related to the site whose error pages you intend to alter and the content for such a file can be found in our Help article about this matter.