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

Custom Error Pages in Shared Web Hosting

If you buy a Linux shared web hosting package from our company, you'll be able to set custom made error pages for your sites quickly and easily, because this feature is part of all our packages. The moment you have created the files and uploaded them to your web hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the selected domain or subdomain. In the pop-up that will show up, you will see drop-down menus for all 4 types of errors and for each one of them you could pick an Apache default page, a generic page from our system or a personalized page. Should you choose the 3rd option, you should just type the URL to the file that you have uploaded then save the change. Another way to set custom made error pages is to set up an .htaccess file inside the domain or subdomain folder and to add a couple of lines of code in it. If you do not have prior experience or if you're simply unsure how to do that, you could just copy/paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Hosting

When you host your web sites in a semi-dedicated server account from us, you can set custom made error pages for each of them effortlessly through our in-house developed Hepsia hosting CP. With only a few clicks inside the Hosted Domains section, you can modify the default setting from a system page to a customized one for each of the four error types. All you need to do is provide a link to every file that you've uploaded before that and then save the change. If required, you'll be able to revert this change whenever you want and in exactly the same way. If you would like, 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 want to change and the content for such a file can be found in our Help article on this matter.