When a page on your website does not load, an error message will be shown to the site visitor. Because there are different errors, there are different pages which will appear, but what's common for all of them is that they're generic and most likely will have absolutely nothing that is similar to the design of your site, which could be irritating for any website visitor. That is the main reason why web hosting companies have introduced a feature known as Custom Error Pages. For a number of different errors, visitors shall see your custom made content, which can be informative or funny, in accordance with your choice, and that will match the design of your site, so the pages won't seem like they aren't part of your Internet 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 Website Hosting

If you purchase a website hosting service from us, you will be able to set personalized error pages for your sites easily, since this feature is part of all of our solutions. Once you've 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 which will be displayed, you shall see drop-down options menus for all four sorts of errors and for each one of them you could select an Apache default page, a generic page from our system or a personalized page. In case you select the third option, you should simply type the URL to the file that you've uploaded then save the change. One other way to set custom made error pages is to create an .htaccess file inside the domain or subdomain folder and to include several lines of program code in it. In case you don't have prior experience or if you're just uncertain how to do that, you may just copy and paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Hosting

Our Linux semi-dedicated hosting support customized error pages, thus you'll be able to employ this function for each and every domain or subdomain hosted inside your account. All it takes to do this is to visit the Hosted Domains section of the Hepsia CP, to click on the Edit button associated with the given domain/subdomain and then to input the link to the custom file. You can do this separately for each error type. You'll be able to switch back to a generic error page anytime if necessary and the change will take effect at once. Another way to achieve the same result is to put an .htaccess file inside the domain or subdomain folder of the web site that you want to modify and to type in a couple of lines of code in it. If you would like to try this method, you may copy and paste the needed code from our Knowledge Base article on custom error pages, so you shall not need any programming skills or prior experience.