Whenever a page on your website does not load, an error message will be displayed to the site visitor. Since there are different errors, there are different pages that'll show up, but what is standard for all of them is that they're generic and most likely shall have practically nothing that resembles the design of your Internet site, which could be aggravating for any visitor. That is the main reason why website hosting companies have introduced a function known as Custom Error Pages. For a range of different errors, website visitors shall see your custom content, which can be informative or funny, depending on your personal preference, and which shall match the overall style and design of your website, so the pages won't appear as if they aren't part of your website at all. You could use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Website Hosting

If you get a shared website hosting from our company, you will be able to set customized error pages for your Internet sites easily and quickly, as this feature is a part of all of our plans. As soon as you have created the files and uploaded them to your hosting account, you can check out the Hosted Domains section of your Hepsia Control Panel 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 menus for all four sorts of errors and for each of them you may select an Apache default page, a generic page from our system or a custom made page. If you choose the 3rd option, you should simply enter the URL to the file you have uploaded and save the change. A different 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 don't have prior experience or if you are simply uncertain how to do that, you could simply copy/paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Servers

Adding your pages for each of the 4 error types to any website hosted through a semi-dedicated server account with us will be very simple and won't take more than a couple of mouse clicks. After you upload the files inside your account, you can navigate to the Hosted Domains section of your Hepsia Control Panel and edit each of the domains and subdomains listed there via an intuitive interface with drop-down menus. You may select what page should appear for every error type. The alternatives are a standard Apache web server page or a page from our system, and tailor-made pages. Should you select the abovementioned option, you have to type the link to every page in your account, then save the change. The link or the kind of page which appears if a user encounters an error can be changed anytime. In case you are more experienced, you can use an .htaccess file so as to set in-house developed error pages too, instead of using our integrated generator tool, and in case you select this option, the file must be positioned inside the root directory of a given domain or subdomain.