When a page on your site doesn't load, an error message shall be shown to the site visitor. Since there are different errors, there are different pages that'll display, but what is standard for all of them is that they're generic and almost certainly will have nothing in common with the layout of your Internet site, which may be irritating for any site visitor. This is the reason why hosting companies have introduced a function referred to as Custom Error Pages. For a variety of different errors, website visitors will see your custom content, which can be informative or amusing, based on your taste, and which will match the design and style of your website, so the pages shall not appear as if they are not part of your site at all. You could use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Website Hosting

If you purchase a Linux shared website hosting package from our company, you shall be able to set custom error pages for your websites quickly and easily, because this feature is part of all of our packages. After you have 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 show up, you will see drop-down options menus for all four sorts of errors and for each one of them you could pick an Apache default page, a generic page from our system or a custom made page. Should you choose the third option, you should simply input the URL to the file that you've uploaded and save the change. One other way to set personalized error pages is to create an .htaccess file inside the domain or subdomain folder and to include a couple of lines of code in it. If you do not have previous experience or if you're simply uncertain how to do this, you may simply copy/paste the code from our Knowledge Base article on that subject.