If a particular page on a site doesn't load for some reason or if a link is not functioning, the visitor will see an error page with a generic message. The page will have nothing in common with the rest of the Internet site, which may make the visitor leave your website. A possible solution in such a case is a feature made available from some hosting providers - the ability to set up your own personalized error pages which will have exactly the same design as your website and that could contain any images or text you want depending on the specific error. There are four well-known errors that may occur and they involve these particular so-called HTTP status codes - 400, when your browser sends a bad request to the server and it can't be processed; 401, if you are supposed to log in to see some webpage, but you haven't done this yet; 403, if you don't have a permission to see a certain page; and 404, in case a link which you've clicked leads to a file that does not exist. In all of these scenarios, site visitors shall be able to see your custom content rather than a generic error page.

Custom Error Pages in Cloud Website Hosting

If you purchase a cloud website hosting service from our company, you'll be able to set custom error pages for your sites easily, because this feature is a part of all our packages. As soon as you've created the files and uploaded them to your hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the particular domain or subdomain. Inside the pop-up which will be displayed, you shall see drop-down options menus for all 4 sorts of errors and for each one of them you may select an Apache default page, a generic page from our system or a customized page. If you select the 3rd option, you should just type the URL to the file that you've uploaded and save the change. One other way to set custom made error pages is to create an .htaccess file in the domain or subdomain folder and to add a few lines of code in it. If you do not have previous experience or if you're just uncertain how to do this, you can just copy/paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Servers

If you host your sites in a semi-dedicated server account with us, you can set customized error pages for any of them effortlessly through our in-house created Hepsia hosting Control Panel. With a couple of clicks inside the Hosted Domains section, you are able to change the default setting from a system page to a custom made one for any of the four error types. All you need to do is provide a link to each file you have uploaded before that and then save the change. If needed, you will be able to revert this customization whenever you want and in exactly the same way. If you'd like, you could use an .htaccess file as well. It has to be created/uploaded inside the domain or subdomain folder related to the internet site whose error pages you would want to alter and the content for this kind of file can be found in our Help article on this matter.