When a page on your Internet site does not load, an error message shall be displayed to the visitor. Since there are different errors, there are different pages that will appear, but what's standard for all of them is that they're generic and probably shall have practically nothing that is similar to the layout of your site, which could be annoying for any website visitor. This is the reason why web hosting service providers have introduced a function referred to as Custom Error Pages. For a wide variety of different errors, website visitors will see your customized content, which can be informative or humorous, depending on your taste, and that will match the layout of your site, so the pages will not appear as if they are not part of your Internet site at all. You could 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 Hosting

When you get a Linux cloud hosting from our company, you shall be able to set customized error pages for your sites easily, as this function is part of all of our packages. As soon as 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 particular domain or subdomain. In the pop-up that will be displayed, you shall see drop-down options menus for all 4 types of errors and for each one of them you could select an Apache default page, a generic page from our system or a customized page. Should you choose the 3rd option, you should just enter the URL to the file which you have uploaded then save the change. Another way to set custom error pages is to create an .htaccess file in the domain or subdomain folder and to add a few lines of code in it. If you do not have previous experience or if you are simply unsure how to do this, you may simply copy and 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 from us, you can set customized error pages for any of them with ease through our in-house built Hepsia hosting CP. With just a few clicks inside the Hosted Domains section, you can change the default setting from a system page to a custom made one for any of the 4 error types. All you need to do is provide a link to every single file which you have uploaded before that and then save the change. If needed, you'll be able to revert this change 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 within the domain or subdomain folder related to the internet site whose error pages you want to alter and the content for such a file can be found in our Help article for this matter.