Whenever a page on your website doesn't load, an error message shall be displayed 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 are generic and probably will have nothing that resembles the layout of your Internet site, which can be annoying for any visitor. This is the reason why hosting companies have introduced a function called Custom Error Pages. For a variety of different errors, site visitors will see your custom content, which may be informative or witty, based on your choice, and that will match the layout of your website, so the pages won't appear as if they are not part of your website at all. You may use this option for a variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Cloud Web Hosting

When you purchase a cloud web hosting from us, you will be able to set custom error pages for your websites fast and easy, as this function is part of all our packages. As soon as you have created the files and uploaded them to your 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. Inside the pop-up that will show up, you will see drop-down menus for all 4 types 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 select the 3rd option, you should simply type the URL to the file you have uploaded and save the change. Another way to set personalized error pages is to set up an .htaccess file inside the domain or subdomain folder and to include a few lines of code in it. If you don't have prior experience or if you're simply unsure how to do this, you may simply copy/paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Hosting

If you host your web sites in a semi-dedicated server account with us, you may set personalized error pages for any of them easily using our custom Hepsia hosting Control Panel. With just a few mouse clicks inside the Hosted Domains section, you are able to edit the default setting from a system page to a custom made one for any of the four error types. All you need to do is supply a link to each file which you have uploaded before that and then save the change. If needed, you will be able to revert this modification at any time and in exactly the same way. If you would like, you could use an .htaccess file too. It must be created/uploaded within the domain or subdomain folder linked to the website whose error pages you would want to modify and the content for this kind of file can be found in our Help article on this matter.