If a specific page on an Internet site doesn't load for some reason or if a link is not functioning, the site visitor shall 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 site. A likely solution in cases like this is a function offered by some website hosting providers - the option to set your own personalized error pages which will have the same style and design as your site and which may contain any text or images which you want based on the specific error. There are four well-known errors which may take place and they involve these particular so-called HTTP status codes - 400, when your browser sends a bad request to the hosting server and it can't be processed; 401, if you are supposed to log in to see some web page, but you haven't done so yet; 403, if you do not have an authorization to see a specific page; and 404, in case a link that you have clicked leads to a file which doesn't exist. In any of these cases, visitors will be able to see your custom made content rather than a generic error page.

Custom Error Pages in Cloud Hosting

When you get a Linux cloud hosting from our company, you will be able to set custom error pages for your Internet sites easily and quickly, as this function is a part of all our solutions. After you have created the files and uploaded them to your hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. In the pop-up that will show up, you shall see drop-down options menus for all four kinds of errors and for each one of them you could select an Apache default page, a generic page from our system or a custom page. Should you select the third option, you should simply input the URL to the file you have uploaded then save the change. Another way to set custom 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. If you don't have preceding experience or if you're simply unsure how to do this, you could just copy and paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Servers

If you host your web sites in a semi-dedicated server account with us, you could set tailor-made error pages for any of them easily through our in-house developed Hepsia hosting Control Panel. With just several clicks in the Hosted Domains section, you could modify the default setting from a system page to a tailor-made one for any of the four error types. All you need to do is provide a link to each file that you've uploaded before that and then save the change. If required, you'll be able to revert this modification at any time and in exactly the same way. If you want, you could use an .htaccess file too. It must be created/uploaded in the domain or subdomain folder linked to the site whose error pages you intend to change and the content for this type of file can be found in our Help article for this matter.