When a page on your site doesn't load, an error message shall be displayed to the visitor. As there are different errors, there are different pages which will show up, but what is standard for all of them is that they are generic and in all probability shall have nothing that resembles the design of your site, which could be annoying for any visitor. This is the main reason why website hosting service providers have introduced a feature known as Custom Error Pages. For a range of different errors, site visitors shall see your custom made content, which could be informative or humorous, depending on your taste, and which shall match the overall layout 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 variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Web Hosting

If you acquire a Linux web hosting from us, you will be able to set custom made error pages for your Internet sites easily and quickly, because this function is part of all of our solutions. The moment you've created the files and uploaded them to your hosting account, you should 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 appear, you shall see drop-down menus for all four kinds of errors and for each of them you could choose an Apache default page, a generic page from our system or a personalized page. If you select the 3rd option, you should just input the URL to the file that you have uploaded then save the change. One other way to set custom made error pages is to set up an .htaccess file inside the domain or subdomain folder and to include a few lines of code in it. In case you don't have prior experience or if you're simply not sure how to do this, you could simply copy and paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Hosting

Adding your personal pages for each of the 4 error types to any website hosted in a semi-dedicated server account with us will be very uncomplicated and will not take more than several mouse clicks. After you upload the files to your account, you could go to the Hosted Domains section of your Hepsia Control Panel and edit the domains and subdomains listed there using an intuitive interface with drop-down menus. You could choose what page should display for every error type. The choices are a default Apache server page or a page from our system, and custom pages. If you select the aforementioned option, you must input the link to each and every page in your account, then save the change. The link or the sort of page which appears if a user encounters an error can be modified whenever you want. In case you’re more experienced, you could use an .htaccess file in order to set custom error pages as well, as opposed to using our integrated generator instrument, and if you choose this option, the file needs to be positioned in the root directory of a specific domain or subdomain.