If a certain page on a website doesn't load for some reason or if a link is not functioning, the visitor will see an error page with some generic message. The page will have nothing in common with the rest of the website, that can make the visitor leave your Internet site. A solution in such a case is a function offered by some website hosting companies - the ability to set up your own customized error pages which shall have the same style and design as your Internet site and which may contain any text or images that you'd like based on the specific error. There are four popular errors which can take place and they involve the following so-called HTTP status codes - 400, when your Internet browser sends a bad request to the web server and it cannot be processed; 401, in case you are supposed to log in to see some web page, but you haven't done this yet; 403, if you don't have an authorization to see a specific page; and 404, if a link that you have clicked leads to a file that does not exist. In all of these situations, website visitors shall be able to see your custom made content instead of a generic error page.

Custom Error Pages in Cloud Website Hosting

If you get a Linux cloud website hosting plan from our company, you shall be able to set custom error pages for your sites fast and easy, as this feature is a part of all of our plans. As soon as you have created the files and uploaded them to your website hosting account, you can go to the Hosted Domains section of your Hepsia CP and click on the Edit button for the specific domain or subdomain. Inside the pop-up which will be displayed, you will see drop-down menus for all 4 sorts of errors and for each of them you could pick an Apache default page, a generic page from our system or a customized page. In case you pick the 3rd option, you should only input the URL to the file that you have uploaded and save the change. A different way to set personalized error pages is to create an .htaccess file inside the domain or subdomain folder and to add a couple of lines of code in it. In case you don't have prior experience or if you're just unsure how to do that, you could simply copy/paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Servers

If you host your websites in a semi-dedicated server account with us, you can set custom made error pages for any of them effortlessly via our in-house built Hepsia hosting Control Panel. With just a few clicks inside the Hosted Domains section, you can modify 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 file that you've uploaded before that and then save the change. If required, you'll be able to revert this change at any time and in exactly the same way. If you'd like, you may use an .htaccess file too. It should 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 for this matter.