Whenever a page on your website doesn't load, an error message shall be shown to the visitor. As there are different errors, there are different pages that will display, but what is common for all of them is that they're generic and almost certainly shall have absolutely nothing in common with the design of your website, which can be annoying for any visitor. This is the main reason why website hosting providers have introduced a feature known as Custom Error Pages. For a variety of different errors, website visitors shall see your custom made content, which could be informative or humorous, depending on your preference, and that will match the design of your website, so the pages won't appear as if they aren't part of your site at all. You may use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Cloud Hosting

If you purchase a cloud hosting from us, you will be able to set custom error pages for your sites quickly and easily, since this function is part of all our plans. The moment you have created the files and uploaded them to your 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 show up, you will see drop-down menus for all 4 kinds of errors and for each one of them you can choose an Apache default page, a generic page from our system or a tailor-made page. Should you pick the 3rd option, you should just enter the URL to the file you have uploaded and save the change. A different way to set custom made error pages is to create an .htaccess file in the domain or subdomain folder and to include several lines of program code in it. If you do not have preceding experience or if you're just uncertain how to do this, you can simply copy and paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Hosting

If you host your sites in a semi-dedicated server account from our company, you may set tailor-made error pages for any of them effortlessly using our in-house made Hepsia hosting Control Panel. With only several mouse clicks inside the Hosted Domains section, you are able to edit the default setting from a system page to a personalized one for each of the four error types. All you need to do is provide a link to each file that you've uploaded before that and then save the change. If needed, you'll be able to revert this customization at any time and in exactly the same way. If you want, you could use an .htaccess file as well. It must be created/uploaded inside the domain or subdomain folder linked to the site whose error pages you would like to change and the content for this sort of file can be found in our Help article on this matter.