If a certain page on an Internet site doesn't load for some reason or in case a link is broken, the website visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the Internet site, which can make the visitor leave your site. A potential solution in this case is a feature offered by some hosting service providers - the option to set up your own customized error pages which shall have the same design and style as your Internet site and that can contain any images or text which you want dependent upon the specific error. There are 4 well-known 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 web server and it cannot be processed; 401, in case you are supposed to log in to see a web page, but you have not done so yet; 403, if you don't have an authorization to view a certain page; and 404, if a link which you've clicked leads to a file which doesn't exist. In any of these situations, site visitors shall be able to see your custom content rather than a generic error page.

Custom Error Pages in Cloud Web Hosting

When you obtain a cloud web hosting plan from us, you'll be able to set custom error pages for your sites easily and quickly, as this function is part of all of our solutions. The moment you have created the files and uploaded them to your web 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 that will show up, you'll see drop-down menus for all 4 sorts of errors and for each of them you can pick an Apache default page, a generic page from our system or a custom page. If you select the third option, you should only enter the URL to the file you have uploaded then save the change. Another way to set customized error pages is to set up an .htaccess file inside the domain or subdomain folder and to add a few lines of program code in it. If you do not have prior experience or if you are simply uncertain how to do that, you may just copy/paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Servers

If you host your sites in a semi-dedicated server account from our company, you may set customized error pages for each of them effortlessly via our in-house built Hepsia hosting Control Panel. With just a couple of mouse clicks inside the Hosted Domains section, you'll be able to edit the default setting from a system page to a personalized one for each of the four error types. All you should do is supply a link to each file that you have uploaded before that and then save the change. If necessary, you'll be able to revert this customization whenever you want and in exactly the same way. If you'd like, you may use an .htaccess file too. It has to be created/uploaded inside the domain or subdomain folder associated with the internet site whose error pages you intend to alter and the content for such a file can be found in our Help article for this matter.