If a page on your Internet site does not load, an error message will be displayed to the visitor. Since there are different errors, there are different pages that will appear, but what is common for all of them is that they're generic and probably will have practically nothing in common with the design of your site, which could be aggravating for any site visitor. This is the main reason why website hosting providers have introduced a feature named Custom Error Pages. For a range of different errors, visitors will see your custom content, which can be informative or funny, in accordance with your personal preference, and which shall match the design of your Internet site, so the pages shall not seem like 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 Shared Hosting

When you acquire a Linux shared hosting plan from our company, you'll be able to set custom error pages for your sites easily and quickly, since this feature is part of all our plans. The moment you've 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 selected domain or subdomain. In the pop-up that will show up, you shall see drop-down options menus for all four types of errors and for each one of them you can pick an Apache default page, a generic page from our system or a customized page. Should you pick the third option, you should simply enter the URL to the file that you've uploaded then save the change. Another way to set custom made error pages is to create 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 prior experience or if you are simply uncertain how to do this, you can simply copy/paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Servers

Adding your pages for any of the 4 error types to any website hosted inside a semi-dedicated server account with us will be very simple and won't take more than several clicks. Once you upload the files to your account, you can navigate to the Hosted Domains section of your Hepsia Control Panel and edit any of the domains and subdomains listed there using an intuitive interface with drop-down menus. You could select what page should display for each error type. The choices are a default Apache server page or a page from our system, and customized pages. In case you pick the abovementioned option, you have to type the link to each page in your account, then save the change. The link or the type of page that will appear when a user encounters an error can be changed anytime. In case you’re more experienced, you may use an .htaccess file to be able to set in-house developed error pages as well, instead of using our integrated generator instrument, and in case you select this option, the file should be located in the root directory of a particular domain or subdomain.