Whenever a page on your website does not load, an error message will be shown to the visitor. Because there are different errors, there are different pages that'll appear, but what's typical for all of them is that they're generic and most likely shall have absolutely nothing that is similar to the layout of your site, which may be annoying for any visitor. That is the primary reason why hosting companies have introduced a feature named Custom Error Pages. For a number of different errors, site visitors will see your custom content, which can be informative or funny, based on your preference, and that will match the layout of your website, so the pages won't appear as if they're not part of your Internet site at all. You can use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Hosting

When you order a Linux shared hosting from our company, you will be able to set personalized error pages for your websites easily and quickly, as this function is a part of all our solutions. As soon as you've created the files and uploaded them to your web hosting account, you can go to the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the particular domain or subdomain. In the pop-up which will show up, you'll see drop-down options menus for all 4 types of errors and for each one of them you may pick an Apache default page, a generic page from our system or a tailor-made page. In case you pick the 3rd option, you should just type the URL to the file you have uploaded and save the change. Another way to set personalized error pages is to create an .htaccess file inside the domain or subdomain folder and to include a few lines of code in it. If you don't have preceding experience or if you are simply not sure how to do this, you may simply copy and paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Hosting

Incorporating your own 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 several clicks. When you upload the files in your account, you could go to the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there through an intuitive interface with drop-down navigation. You could select what page should show up for each and every error type. The options are a default Apache server page or a page from our system, and customized pages. Should you choose the last option, you will need to input the link to every page inside your account, then save the change. The link or the type of page which shows up if a user encounters an error can be changed anytime. In case you’re more experienced, you could use an .htaccess file to set in-house developed error pages too, as opposed to using our integrated generator instrument, and if you select this option, the file must be placed inside the root directory of a given domain or subdomain.