If a particular page on a site does not load for some reason or in case a link is broken, the visitor will see an error page with some generic message. The page will have nothing in common with the rest of the Internet site, which can make the visitor leave your Internet site. A potential solution in cases like this is a feature made available from some web hosting providers - the option to set your own personalized error pages which will have exactly the same design and style as your site and that could contain any images or text you want dependent upon the specific error. There are 4 common errors that may occur 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 a webpage, but you have not done so yet; 403, if you do not have a permission to see a particular page; and 404, in case a link which you've clicked leads to a file which doesn't exist. In all of these scenarios, site visitors will be able to see your custom content instead of a generic error page.

Custom Error Pages in Cloud Web Hosting

You shall be able to set up custom error pages for each of your domains or subdomains. The function is supported by all cloud web hosting solutions that we offer, so after you log in to the Hepsia Control Panel and visit the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that will be displayed, you can choose the sort of error page that should show up - a default one from our system, a typical Apache server page or a custom one. For the latter option, you need to specify the URL to the page, so when you use custom made pages, you have to upload the files inside your website hosting account first. An alternative way is to use an .htaccess file placed in the domain or subdomain folder with a line for each and every error type. The exact syntax can be located in our Knowledge Base, so you can use this function even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Servers

If you host your websites in a semi-dedicated server account from us, you could set personalized error pages for each of them with ease via our in-house created Hepsia hosting CP. With just a couple of mouse clicks inside the Hosted Domains section, you'll be able to edit the default setting from a system page to a custom made one for each of the 4 error types. All you have to do is provide a link to each file which you have uploaded before that and then save the change. If necessary, you will be able to revert this change whenever you want 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 belonging to the website whose error pages you would want to modify and the content for such a file can be found in our Help article about this matter.