If a specific page on an Internet site does not load for some reason or in case a link is not functioning, the website visitor will 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 Internet site. A solution in such a case is a feature made available from some hosting service providers - the ability to set your own personalized error pages which shall have the same layout as your Internet site and that could contain any text or images that you'd like based on the particular error. There are four popular errors which can occur and they involve the following so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the web server and it can't be processed; 401, in case 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 particular page; and 404, when a link that you have clicked leads to a file that doesn't exist. In each of these situations, visitors shall be able to see your customized content as opposed to a generic error page.

Custom Error Pages in Hosting

When you order a hosting from us, you will be able to set custom error pages for your websites easily, since this function is part of all our packages. The moment you have 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 selected domain or subdomain. Inside the pop-up which will appear, you'll see drop-down menus for all 4 kinds of errors and for each one of them you can select an Apache default page, a generic page from our system or a custom made page. If you select the third option, you should just enter the URL to the file that you've uploaded then save the change. Another way to set customized error pages is to create an .htaccess file in the domain or subdomain folder and to add a few lines of program code in it. If you don't have prior experience or if you're simply not sure how to do this, you may simply copy and paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Hosting

When you host your Internet sites in a semi-dedicated server account with us, you could set personalized error pages for each of them effortlessly via our in-house developed Hepsia hosting CP. With just a couple of clicks in the Hosted Domains section, you'll be able to modify the default setting from a system page to a custom one for each of the four error types. All you have to do is provide a link to every file you have uploaded before that and then save the change. If necessary, you'll be able to revert this change at any time and in exactly the same way. If you would like, you may use an .htaccess file too. It must be created/uploaded in the domain or subdomain folder related to the website whose error pages you would like to modify and the content for this type of file can be found in our Help article about this matter.