If a page on your site 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 is common for all of them is that they're generic and probably will have absolutely nothing that is similar to the design of your website, which could be annoying for any visitor. This is the reason why hosting companies have introduced a function named Custom Error Pages. For a range of different errors, site visitors will see your custom made content, which could be informative or witty, depending on your preference, and that will match the design and style of your site, so the pages won't look like they aren't part of your Internet site at all. You may use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Cloud Website Hosting

When you obtain a cloud website hosting from our company, you will be able to set custom error pages for your Internet sites easily and quickly, since this feature is a part of all our plans. The moment you've created the files and uploaded them to your 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. In the pop-up which will be displayed, you'll see drop-down menus for all four types of errors and for each of them you could select an Apache default page, a generic page from our system or a tailor-made page. In case you pick the 3rd option, you should only type the URL to the file that you've uploaded then save the change. Another way to set custom made error pages is to set up an .htaccess file in the domain or subdomain folder and to add a couple of lines of code in it. If you don't have prior experience or if you are simply uncertain how to do this, you may simply copy/paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Servers

Incorporating your pages for each of the four error types to any web site hosted inside a semi-dedicated server account with us will be very basic and won't take more than a couple of mouse clicks. Once you upload the files in your account, you could check out the Hosted Domains section of your Hepsia CP and edit any of the domains and subdomains listed there via an intuitive interface with drop-down menus. You may pick what page should appear for each error type. The alternatives are a standard Apache server page or a page from our system, and customized pages. In case you pick the aforementioned option, you have to input the link to each page in your account, then save the change. The link or the kind of page that will be displayed if a user encounters an error can be changed anytime. If you're more experienced, you can use an .htaccess file in order to set in-house developed error pages as well, rather than using our integrated generator tool, and should you select this option, the file has to be located inside the root directory of a given domain or subdomain.