If a specific page on an Internet site does not load for some reason or in case a link is broken, the visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the site, that may make the visitor leave your site. A solution in such a case is a feature offered by some hosting providers - the ability to set up your own personalized error pages which will have the same design and style as your website and which may contain any text or images that you would like depending on the specific error. There are four common errors which may take place and they involve these so-called HTTP status codes - 400, when your browser sends a bad request to the hosting 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 don't have a permission to see a certain page; and 404, when a link which you've clicked leads to a file that doesn't exist. In any of these scenarios, site visitors will be able to see your personalized content as opposed to a generic error page.

Custom Error Pages in Cloud Website Hosting

When you order a Linux cloud website hosting service from us, you shall be able to set customized error pages for your websites fast and easy, since this feature is part of all our solutions. The moment you've created the files and uploaded them to your web hosting account, you can check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the selected domain or subdomain. Inside the pop-up which will be displayed, you'll see drop-down options menus for all 4 types of errors and for each of them you may choose an Apache default page, a generic page from our system or a customized page. In case you choose the third option, you should just type the URL to the file that you have uploaded and 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 several lines of code in it. If you don't have previous experience or if you are just not sure how to do this, you could simply copy/paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Hosting

If you host your websites in a semi-dedicated server account with us, you'll be able to set custom error pages for any of them effortlessly using our in-house developed Hepsia hosting Control Panel. With only a couple of clicks inside the Hosted Domains section, you can change the default setting from a system page to a custom made one for any of the four error types. All you have to do is supply a link to every single file that you've uploaded before that and then save the change. If required, you shall be able to revert this customization at any time and in exactly the same way. If you want, you could use an .htaccess file too. It has to be created/uploaded in the domain or subdomain folder belonging to the internet site whose error pages you would want to modify and the content for this type of file can be found in our Help article about this matter.