When a page on your Internet site doesn't load, an error message shall be displayed to the visitor. Since there are different errors, there are different pages which will display, but what is standard for all of them is that they're generic and in all probability will have absolutely nothing that is similar to the design of your website, which can be annoying for any website visitor. That is the reason why web hosting service providers have introduced a feature named Custom Error Pages. For a variety of different errors, visitors shall see your customized content, which could be informative or humorous, depending on your preference, and which shall match the overall style and design of your Internet site, so the pages won't look like they're not part of your website at all. You could use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Hosting

If you acquire a Linux shared hosting from us, you will be able to set customized error pages for your sites easily, because this function is a part of all of our solutions. The moment you've created the files and uploaded them to your website hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the specific domain or subdomain. Inside the pop-up which will show up, you will 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 customized page. In case you choose the 3rd option, you should simply type the URL to the file which you have uploaded and save the change. Another way to set custom error pages is to set up an .htaccess file inside the domain or subdomain folder and to include a few lines of program code in it. If you do not have prior experience or if you're simply unsure how to do that, you may simply copy/paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Hosting

Adding your own pages for any of the four error types to any site hosted inside a semi-dedicated server account with us shall be very easy and shall not take more than a few clicks. When you upload the files in your account, you can check out the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there through an intuitive interface with drop-down menus. You can choose what page should appear for each and every error type. The options are a standard Apache web server page or a page from our system, and customized pages. Should you choose the abovementioned option, you will need to input the link to every page inside your account, then save the change. The link or the sort of page which will be shown in case a user encounters an error can be modified at any time. If you are more experienced, you could use an .htaccess file to be able to set custom error pages as well, instead of using our integrated generator software tool, and if you pick this option, the file needs to be positioned inside the root directory of a specific domain or subdomain.