If a certain page on a site does not 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 will 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 function made available from some hosting providers - the option to set your own personalized error pages that shall have the same layout as your site and which could contain any images or text that you would like dependent upon the specific error. There are 4 common errors that may take place and they involve these particular so-called HTTP status codes - 400, when your 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 some page, but you haven't done this yet; 403, if you do not have a permission to view a particular page; and 404, when a link that you've clicked leads to a file that does not exist. In all of these cases, site visitors shall be able to see your customized content rather than a generic error page.

Custom Error Pages in Cloud Hosting

You will be able to set up custom 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 the Hepsia CP and go to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that will appear, you can pick the kind of error page which should appear - a default one from our system, a standard Apache web server page or a personalized one. For the last mentioned alternative, you must assign the URL to the page, so when you use custom made pages, you need to upload the files inside your web hosting account first. An alternative way is to use an .htaccess file positioned in the domain or subdomain folder with a line for each and every error type. The exact syntax can be seen in our Knowledge Base, to help you use this function even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

If you host your websites in a semi-dedicated server account with us, you could set custom error pages for each of them effortlessly through our in-house developed Hepsia hosting Control Panel. With a few mouse clicks inside the Hosted Domains section, you could edit the default setting from a system page to a tailor-made one for any of the 4 error types. All you should do is supply a link to every file that you've 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 wish, you can use an .htaccess file as well. It has to be created/uploaded within the domain or subdomain folder belonging to the internet site whose error pages you would want to alter and the content for this sort of file can be found in our Help article about this matter.