Whenever a page on your site does not load, an error message will be displayed to the visitor. As there are different errors, there are different pages that will display, but what's standard for all of them is that they are generic and probably shall have practically nothing that resembles the design of your website, which may be irritating for any visitor. This is the reason why website hosting providers have introduced a function referred to as Custom Error Pages. For a variety of different errors, visitors shall see your custom made content, which may be informative or witty, in accordance with your personal preference, and which shall match the overall design of your Internet site, so the pages will not seem like they're not part of your website at all. You can use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Hosting

If you buy a shared plan from our company, you shall be able to set personalized error pages for your sites easily and quickly, as this function is part of all our packages. The moment you have created the files and uploaded them to your web hosting account, you can go to 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 types of errors and for each one of them you could choose an Apache default page, a generic page from our system or a personalized page. In case you select the third option, you should only enter the URL to the file that 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 couple of lines of program code in it. If you don't have preceding experience or if you are just unsure how to do that, you may just copy/paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Servers

All our semi-dedicated plans support tailor-made error pages, so you will be able to use this function for every single domain or subdomain hosted in your account. All it takes to do this is to visit the Hosted Domains section of the Hepsia Control Panel, to click the Edit button linked to the particular domain/subdomain and then to enter the link to the custom file. You are able to do this separately for each error type. You will be able to switch back to a standard error page anytime if necessary and the change shall take effect right away. An alternative way to achieve the same result is to set an .htaccess file inside the domain or subdomain folder related to the site which you want to edit and to enter several lines of program code within it. If you would like to try this method, you may copy and paste the required code from our Knowledge Base article on custom error pages, thus you will not need any programming skills or prior experience.