If a certain page on a site does not load for some reason or in case a link is not functioning, the website visitor will see an error page with a generic message. The page will have nothing in common with the rest of the site, that could make the visitor leave the site. A potential solution in such a case is a feature made available from some hosting companies - the ability to set your own custom error pages which shall have the same design and style as your Internet site and which could contain any images or text you want based on the particular error. There are 4 well-known errors which could 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 hosting server and it cannot be processed; 401, if you are supposed to log in to see some web page, but you have not done this yet; 403, if you do not have a permission to view a certain page; and 404, in case a link which you've clicked leads to a file which doesn't exist. In any of these cases, website visitors shall be able to see your custom content rather than a generic error page.

Custom Error Pages in Cloud Hosting

When you acquire a Linux cloud hosting from us, you shall be able to set custom error pages for your sites quickly and easily, since this feature is a part of all our packages. After you have created the files and uploaded them to your hosting account, you can go to the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the selected domain or subdomain. Inside the pop-up that will appear, you will see drop-down menus for all 4 types of errors and for each of them you could pick an Apache default page, a generic page from our system or a tailor-made page. If you select the 3rd option, you should simply type the URL to the file that you've uploaded then save the change. A different way to set customized error pages is to create an .htaccess file in the domain or subdomain folder and to include several lines of code in it. If you don't have preceding experience or if you are just uncertain how to do that, you may simply copy and paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Hosting

When you host your web sites in a semi-dedicated server account with us, you can set personalized error pages for each of them easily via our in-house created Hepsia hosting Control Panel. With a couple of mouse clicks in the Hosted Domains section, you are able to change the default setting from a system page to a customized one for each of the 4 error types. All you must do is provide a link to every single file that you have uploaded before that and then save the change. If needed, you will be able to revert this customization anytime and in exactly the same way. If you would like, you may use an .htaccess file as well. It should be created/uploaded in the domain or subdomain folder belonging to the website whose error pages you intend to change and the content for such a file can be found in our Help article about this matter.