If a particular page on a website doesn't load for some reason or in case a link is not working, the visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the website, that may make the visitor leave your website. A likely solution in cases like this is a feature made available from some website hosting companies - the ability to set your own customized error pages that will have identical style and design as your website and which can contain any images or text that you'd like based on the specific error. There are 4 standard errors which can take place and they involve the following so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the server and it cannot be processed; 401, if you're supposed to log in to see a web page, but you haven't done this yet; 403, if you do not have a permission to see a specific page; and 404, if a link that you have clicked leads to a file which does not exist. In all of these cases, visitors shall be able to see your custom content instead of a generic error page.

Custom Error Pages in Cloud Web 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 web hosting package that we provide, so as soon as you log in to the Hepsia CP and go to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that"ll appear, you could pick the sort of error page which should show up - a default one from our system, a conventional Apache server page or a customized one. For the aforementioned option, you will need to assign the URL to the page, so if you use personalized pages, you need to upload the files inside your hosting account first. Another way is to use an .htaccess file located inside the domain or subdomain folder with a line for each error type. The correct 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 sites in a semi-dedicated server account with our company, you'll be able to set personalized error pages for any of them easily through our in-house developed Hepsia hosting Control Panel. With several clicks in the Hosted Domains section, you can change the default setting from a system page to a custom one for any of the four error types. All you have to do is supply a link to every single file that you've uploaded before that and then save the change. If necessary, you will be able to revert this modification anytime and in exactly the same way. If you prefer, you may use an .htaccess file too. It should be created/uploaded in the domain or subdomain folder belonging to the website whose error pages you intend to modify and the content for this type of file can be found in our Help article about this matter.