Whenever a page on your website does not load, an error message shall be shown to the visitor. Because there are different errors, there are different pages that'll show up, but what is typical for all of them is that they're generic and almost certainly will have absolutely nothing that resembles the design of your site, which could be irritating for any website visitor. This is the main reason why web hosting companies have introduced a feature referred to as Custom Error Pages. For a wide variety of different errors, visitors will see your customized content, which can be informative or amusing, based on your taste, and which shall match the style and design of your website, so the pages won't look like they aren't part of your Internet site at all. You may use this option for a variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Hosting

If you get a Linux shared service from our company, you will be able to set customized error pages for your sites fast and easy, because this feature is a part of all our packages. After you've created the files and uploaded them to your web hosting account, you can check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the selected domain or subdomain. In the pop-up which will be displayed, you will see drop-down menus for all four types of errors and for each one of them you may pick an Apache default page, a generic page from our system or a custom page. In case you pick 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 custom error pages is to set up an .htaccess file inside the domain or subdomain folder and to add a few lines of program code in it. If you do not have preceding experience or if you're simply uncertain how to do that, you may simply copy and paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Hosting

Incorporating your own pages for any of the 4 error types to any Internet site hosted inside a semi-dedicated server account with us will be really uncomplicated and shall not take more than several mouse clicks. When you upload the files to your account, you could navigate to the Hosted Domains section of your Hepsia CP and edit each of the domains and subdomains listed there using an intuitive interface with drop-down navigation. You may choose what page should show up for each and every error type. Your choices are a standard Apache server page or a page from our system, and customized pages. If you pick the aforementioned option, you will need to input the link to each and every page inside your account, then save the change. The link or the kind of page that will appear in case a user encounters an error can be modified at any time. If you are more experienced, you could use an .htaccess file to be able to set customized error pages too, as opposed to using our integrated generator software tool, and if you pick this option, the file should be located inside the root directory of a given domain or subdomain.