If a particular page on an Internet site doesn't load for some reason or if a link is broken, the site visitor will see an error page with a generic message. The page will have nothing in common with the rest of the Internet site, which may make the visitor leave your website. A potential solution in such a case is a function made available from some website hosting companies - the ability to set your own personalized error pages that shall have the exact same layout as your website and that can contain any images or text that you would like dependent upon the particular error. There are 4 well-known errors which can occur and they involve these so-called HTTP status codes - 400, when your Internet 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 page, but you have not done so yet; 403, if you do not have a permission to view a particular page; and 404, when a link which you've clicked leads to a file which does not exist. In all of these cases, visitors will be able to see your personalized content rather than a generic error page.

Custom Error Pages in Shared Hosting

When you obtain a shared plan from us, you'll be able to set custom made error pages for your sites quickly and easily, since this feature is part of all of our packages. After you've created the files and uploaded them to your website hosting account, you can check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the specific domain or subdomain. In the pop-up that will be displayed, you'll see drop-down menus for all 4 sorts of errors and for each of them you can choose an Apache default page, a generic page from our system or a custom made page. Should you pick the third option, you should simply input the URL to the file that you've uploaded and save the change. A different way to set personalized 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 do not have preceding experience or if you are simply not sure how to do that, you can just copy/paste the code from our Knowledge Base article on that matter.