Each time a page on your Internet site does not load, an error message shall be shown to the website visitor. As there are different errors, there are different pages which will appear, but what is standard for all of them is that they are generic and in all probability will have practically nothing that resembles the layout of your site, which may be aggravating for any website visitor. That is the reason why hosting service providers have introduced a feature referred to as Custom Error Pages. For a wide variety of different errors, site visitors shall see your custom content, which may be informative or humorous, in accordance with your preference, and that will match the design and style of your site, so the pages won't appear as if they're not part of your website at all. You could use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Website Hosting

If you purchase a Linux website hosting package from our company, you'll be able to set custom error pages for your Internet sites easily and quickly, because this function is part of all our solutions. The moment you have created the files and uploaded them to your website 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. In the pop-up that will show up, you will see drop-down options menus for all four types of errors and for each of them you may choose an Apache default page, a generic page from our system or a personalized page. In case you pick the 3rd option, you should only type the URL to the file you have uploaded and save the change. A different way to set custom made error pages is to set up 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 preceding experience or if you're simply uncertain how to do this, you could just copy/paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Hosting

Including your personal pages for any of the four error types to any website hosted inside a semi-dedicated server account with us will be very basic and won't take more than a few clicks. As soon as you upload the files in your account, you could go to the Hosted Domains section of your Hepsia Control Panel and edit any of the domains and subdomains listed there through an intuitive interface with drop-down menus. You could choose what page should display for every error type. Your options are a standard Apache server page or a page from our system, and custom pages. Should you select the last option, you will need to type in the link to every single page inside your account, then save the change. The link or the sort of page which will be shown if a user encounters an error can be changed at any time. In case you’re more experienced, you may use an .htaccess file to be able to set tailor-made error pages as well, rather than using our integrated generator instrument, and in case you select this option, the file should be positioned in the root directory of a particular domain or subdomain.