If a certain page on a site does not load for some reason or if a link is not functioning, the site visitor will see an error page with some generic message. The page will have nothing in common with the rest of the Internet site, that may make the visitor leave your Internet site. A solution in such a case is a function offered by some website hosting service providers - the option to set up your own customized error pages that will have the same layout as your site and that may contain any images or text you want based on the particular error. There are 4 popular errors that 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're supposed to log in to see some web page, but you have not done this yet; 403, if you don't have a permission to see a specific page; and 404, if a link that you have clicked leads to a file that does not exist. In any of these cases, visitors will be able to see your custom content instead of a generic error page.

Custom Error Pages in Cloud Website Hosting

If you get a Linux cloud website hosting from us, you will be able to set custom error pages for your websites easily, because this feature is part of all our plans. The moment you've created the files and uploaded them to your web hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the specific domain or subdomain. In the pop-up that will be displayed, you will see drop-down options menus for all four kinds of errors and for each of them you may choose 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've uploaded then save the change. One other way to set personalized error pages is to create an .htaccess file in the domain or subdomain folder and to include a couple of lines of code in it. In case you don't have previous experience or if you are just uncertain how to do that, you can just copy/paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Hosting

When you host your web sites in a semi-dedicated server account with our company, you'll be able to set custom made error pages for any of them effortlessly using our in-house made Hepsia hosting CP. With just a couple of clicks inside the Hosted Domains section, you could change the default setting from a system page to a personalized one for any of the 4 error types. All you should do is provide a link to each and every file that you've uploaded before that and then save the change. If necessary, you shall be able to revert this customization anytime and in exactly the same way. If you would like, you can use an .htaccess file too. It has to be created/uploaded within the domain or subdomain folder belonging to the internet site whose error pages you would want to alter and the content for this sort of file can be found in our Help article about this matter.