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

Custom Error Pages in Shared Hosting

If you buy a shared hosting plan from us, you will be able to set customized error pages for your sites quickly and easily, because this feature is part of all our plans. The moment you have created the files and uploaded them to your website 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. Inside the pop-up which will appear, you will see drop-down menus for all 4 types of errors and for each one of them you may choose an Apache default page, a generic page from our system or a customized page. If you select the third option, you should only input the URL to the file that you've uploaded and save the change. A different way to set personalized error pages is to set up 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 simply not sure how to do that, you could simply copy/paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Servers

When you host your Internet sites in a semi-dedicated server account with our company, you'll be able to set custom made error pages for each of them easily via our custom Hepsia hosting Control Panel. With a couple of mouse clicks inside the Hosted Domains section, you could edit the default setting from a system page to a custom made one for each of the four error types. All you should do is supply a link to every file that you have uploaded before that and then save the change. If required, you will be able to revert this modification whenever you want and in exactly the same way. If you would like, you may use an .htaccess file as well. It must be created/uploaded inside the domain or subdomain folder belonging to the website whose error pages you intend to modify and the content for such a file can be found in our Help article on this matter.