Each time a page on your site doesn't load, an error message will be displayed to the site visitor. Because there are different errors, there are different pages which will show up, but what's standard for all of them is that they are generic and in all probability shall have practically nothing in common with the layout of your site, which could be irritating for any visitor. This is the primary reason why website hosting companies have introduced a feature known as Custom Error Pages. For a number of different errors, site visitors shall see your custom made content, which could be informative or amusing, depending on your preference, and which shall match the overall layout of your website, so the pages shall not seem like they aren't part of your site at all. You may use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Cloud Web Hosting
When you order a Linux cloud web hosting package from us, you'll be able to set personalized error pages for your websites easily and quickly, because this function is part of all our solutions. As soon as 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 specific domain or subdomain. In the pop-up that will appear, you'll see drop-down menus for all 4 types of errors and for each one of them you can select an Apache default page, a generic page from our system or a custom made page. Should you select the third option, you should simply input the URL to the file which you have uploaded then save the change. One other way to set personalized error pages is to create an .htaccess file in the domain or subdomain folder and to include a couple of 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 can just copy/paste the code from our Knowledge Base article on that topic.
Custom Error Pages in Semi-dedicated Hosting
Adding your personal pages for any of the four error types to any website hosted from a semi-dedicated server account with us will be really simple and will not take more than a couple of mouse clicks. When you upload the files in your account, you could go to the Hosted Domains section of your Hepsia CP and edit each of the domains and subdomains listed there through an intuitive interface with drop-down navigation. You can choose what page should show up for each and every error type. Your choices are a default Apache server page or a page from our system, and customized pages. If you choose 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 will be displayed in case a user encounters an error can be modified anytime. In case you’re more experienced, you can use an .htaccess file to set customized error pages as well, rather than using our integrated generator software instrument, and if you choose this option, the file must be placed inside the root directory of a specific domain or subdomain.