When a page on your Internet site doesn't load, an error message will be displayed to the visitor. Because there are different errors, there are different pages that will display, but what is standard for all of them is that they are generic and in all probability will have absolutely nothing in common with the layout of your Internet site, which can be irritating for any website visitor. This is the main reason why web hosting providers have introduced a function named Custom Error Pages. For a range of different errors, site visitors will see your customized content, which may be informative or amusing, depending on your personal preference, and that will match the overall style and design of your Internet site, so the pages shall not appear as if they aren't part of your website at all. You can use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Website Hosting

If you buy a website hosting from us, you will be able to set custom error pages for your Internet sites easily, as this feature is a part of all of our solutions. Once you have created the files and uploaded them to your website hosting account, you can go to the Hosted Domains section of your Hepsia CP and click on the Edit button for the selected domain or subdomain. In the pop-up which will show up, you will see drop-down options menus for all four types of errors and for each one of them you could choose an Apache default page, a generic page from our system or a tailor-made page. If 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 custom made error pages is to set up an .htaccess file inside the domain or subdomain folder and to add several lines of program code in it. If you do not have preceding experience or if you are simply unsure how to do this, you can just copy and paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Servers

All of our semi-dedicated servers support tailor-made error pages, so you shall be able to use this feature for each and every domain or subdomain hosted in your account. All it will take to do this is to check out the Hosted Domains section of the Hepsia CP, to click the Edit button linked to the given domain/subdomain and to type the link to the custom-made file. You can do this independently for each and every error type. You shall be able to switch back to a generic error page at any time if needed and the change shall take effect instantly. Another way to achieve the very same result is to place an .htaccess file inside the domain or subdomain folder related to the Internet site that you'd like to modify and to enter a couple of lines of code inside it. If you would like to try this method, you could copy and paste the necessary code from our Knowledge Base article on custom error pages, which means that you will not need any computer programming skills or prior experience.