If a specific page on a website doesn't load for some reason or in case a link is broken, the site visitor will see an error page with some generic message. The page will have nothing in common with the rest of the site, which could make the visitor leave the site. A solution in this case is a function offered by some web hosting service providers - the ability to set your own personalized error pages which will have exactly the same design and style as your website and that may contain any text or images that you'd like depending on the particular error. There are four standard errors which may occur and they involve these particular so-called HTTP status codes - 400, when your browser sends a bad request to the web server and it can't be processed; 401, if you are supposed to log in to see a web page, but you haven't done so yet; 403, if you don't have an authorization to see a certain page; and 404, in case a link which you've clicked leads to a file that doesn't exist. In any of these scenarios, visitors shall be able to see your customized content rather than a generic error page.

Custom Error Pages in Cloud Website Hosting

When you order a Linux cloud website hosting plan from us, you'll be able to set personalized error pages for your websites fast and easy, since this function is part of all our plans. As soon as you have created the files and uploaded them to your hosting account, you can go to the Hosted Domains section of your Hepsia CP and click on the Edit button for the selected domain or subdomain. In the pop-up which will be displayed, you'll see drop-down options menus for all four types of errors and for each of them you could choose an Apache default page, a generic page from our system or a custom made page. If you pick the third option, you should just enter the URL to the file you have uploaded and save the change. A different way to set custom made error pages is to set up an .htaccess file inside the domain or subdomain folder and to add several lines of program code in it. If you do not have preceding experience or if you are simply unsure how to do that, you may just copy/paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Servers

If you host your sites in a semi-dedicated server account with our company, you'll be able to set personalized error pages for any of them easily via our in-house made Hepsia hosting CP. With a couple of mouse clicks in the Hosted Domains section, you are able to edit the default setting from a system page to a tailor-made one for each of the four error types. All you should do is provide a link to every single file you have uploaded before that and then save the change. If required, you shall be able to revert this change anytime and in exactly the same way. If you would like, you can use an .htaccess file as well. It must be created/uploaded inside the domain or subdomain folder belonging to the site whose error pages you intend to change and the content for this sort of file can be found in our Help article for this matter.