Each time a page on your website does not load, an error message will be shown to the visitor. Since there are different errors, there are different pages that'll display, but what's common for all of them is that they're generic and in all probability will have practically nothing in common with the layout of your website, which could be irritating for any site visitor. That is the reason why web 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 made content, which could be informative or amusing, depending on your choice, and that will match the design of your site, so the pages won't seem like they aren't part of your website at all. You could use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Cloud Web Hosting

If you get a Linux cloud web hosting from our company, you'll be able to set customized error pages for your sites easily, because this function is part of all our packages. Once you have created the files and uploaded them to your web hosting account, you can go to the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. Inside the pop-up which will show up, you'll see drop-down menus for all four kinds of errors and for each of them you can pick an Apache default page, a generic page from our system or a custom made page. In case you select the 3rd option, you should just enter the URL to the file which you have uploaded then save the change. Another 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. In case you don't have previous experience or if you are just not sure how to do this, you can just copy and paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Hosting

Adding your personal pages for any of the 4 error types to any Internet site hosted through a semi-dedicated server account with us shall be very simple and shall not take more than a couple of mouse clicks. Once you upload the files inside your account, you could navigate to the Hosted Domains section of your Hepsia Control Panel and edit the domains and subdomains listed there via an intuitive interface with drop-down navigation. You may select what page should appear for every single error type. The alternatives are a standard Apache web server page or a page from our system, and custom made pages. Should you select the abovementioned option, you must input the link to each and every page in your account, then save the change. The link or the type of page which will appear in case a user encounters an error can be changed anytime. In case you’re more experienced, you could use an .htaccess file in order to set in-house developed error pages too, rather than using our integrated generator instrument, and should you pick this option, the file has to be located in the root directory of a given domain or subdomain.