Whenever a page on your site doesn't load, an error message will be displayed to the website visitor. Since there are different errors, there are different pages that'll appear, but what's standard for all of them is that they are generic and almost certainly will have nothing that is similar to the layout of your website, which may be frustrating for any site visitor. This is the primary reason why web hosting service providers have introduced a function known as Custom Error Pages. For a number of different errors, visitors shall see your custom content, which may be informative or funny, in accordance with your preference, and which shall match the overall design and style of your website, so the pages shall not appear as if they're not part of your website at all. You may use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Hosting

If you buy a Linux shared hosting from us, you will be able to set custom error pages for your websites easily and quickly, because this feature is a part of all of our solutions. As soon as you have created the files and uploaded them to your website hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular 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 choose an Apache default page, a generic page from our system or a tailor-made page. If you select the third option, you should only type the URL to the file that you've uploaded and save the change. A different way to set custom made error pages is to set up an .htaccess file inside the domain or subdomain folder and to include several lines of program code in it. If you don't have previous experience or if you are just uncertain how to do that, you may just copy/paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Hosting

Incorporating your own pages for any of the four error types to any Internet site hosted in a semi-dedicated server account with us will be very uncomplicated and will not take more than several mouse clicks. Once you upload the files in your account, you can check out the Hosted Domains section of your Hepsia CP and edit any of the domains and subdomains listed there via an intuitive interface with drop-down navigation. You can pick what page should display for every error type. Your choices are a default Apache server page or a page from our system, and personalized pages. In case you pick the last option, you have to enter the link to each and every page inside your account, then save the change. The link or the sort of page that will be displayed when a user encounters an error can be changed anytime. In case you are more experienced, you may use an .htaccess file to set custom error pages as well, as opposed to using our integrated generator tool, and in case you select this option, the file needs to be located in the root directory of a specific domain or subdomain.