When a page on your site does not load, an error message shall be displayed to the site visitor. Because there are different errors, there are different pages which will display, but what's standard for all of them is that they are generic and most likely shall have nothing that resembles the design of your Internet site, which may be annoying for any website visitor. That is the main reason why hosting service providers have introduced a function called Custom Error Pages. For a wide variety of different errors, visitors will see your custom made content, which can be informative or funny, in accordance with your choice, and which shall match the layout of your Internet site, so the pages will not appear as if they aren't 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 Cloud Website Hosting
If you purchase a cloud website hosting from our company, you shall be able to set custom made error pages for your Internet sites quickly and easily, as this feature is a part of all our plans. Once you've created the files and uploaded them to your hosting account, you can 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 that will be displayed, you will see drop-down options menus for all four sorts of errors and for each one of them you can choose an Apache default page, a generic page from our system or a personalized page. If you select the third option, you should only type the URL to the file which you have uploaded and save the change. A different way to set personalized error pages is to create an .htaccess file inside the domain or subdomain folder and to add a couple of lines of code in it. If you do not have preceding experience or if you are just not sure how to do that, you can simply copy and paste the code from our Knowledge Base article on that subject.
Custom Error Pages in Semi-dedicated Servers
Incorporating your personal pages for any of the 4 error types to any website hosted in a semi-dedicated server account with us will be very basic and won't take more than a couple of clicks. When you upload the files inside your account, you could check out the Hosted Domains section of your Hepsia CP and edit each of the domains and subdomains listed there via an intuitive interface with drop-down menus. You can pick what page should show up for every single error type. The choices are a standard Apache server page or a page from our system, and personalized pages. Should you select the abovementioned option, you will need to type in the link to every page inside your account, then save the change. The link or the sort of page that will be shown in case a user encounters an error can be modified at any time. If you're more experienced, you can use an .htaccess file in order to set in-house made error pages too, rather than using our integrated generator software instrument, and if you choose this option, the file must be positioned in the root directory of a specific domain or subdomain.