Whenever a page on your website does not load, an error message will be displayed to the website visitor. Because there are different errors, there are different pages that'll show up, but what is standard for all of them is that they are generic and most likely shall have nothing that resembles the design of your website, which could be annoying for any website visitor. That is the primary reason why website hosting service providers have introduced a feature referred to as Custom Error Pages. For a number of different errors, website visitors shall see your custom made content, which could be informative or witty, based on your personal preference, and which shall match the design of your website, so the pages shall not look like they aren't part of your website 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

When you buy a shared hosting plan from our company, you will be able to set personalized error pages for your Internet sites fast and easy, since this function is a part of all our solutions. The moment you have created the files and uploaded them to your web hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the specific domain or subdomain. Inside the pop-up which will appear, you'll see drop-down options menus for all 4 kinds of errors and for each of them you could pick an Apache default page, a generic page from our system or a customized page. If you pick the 3rd option, you should only input the URL to the file you have uploaded and save the change. A different way to set custom made error pages is to create an .htaccess file inside the domain or subdomain folder and to add several lines of code in it. In case you don't have prior experience or if you're simply unsure how to do this, you could simply copy/paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Servers

Adding your personal pages for each of the 4 error types to any Internet site hosted through a semi-dedicated server account with us will be really simple and shall not take more than a couple of clicks. When you upload the files in your account, you can 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 could pick what page should display for every single error type. Your options are a default Apache server page or a page from our system, and personalized pages. In case you choose the abovementioned option, you will need to type in the link to each page in your account, then save the change. The link or the sort of page that will be displayed if a user encounters an error can be changed whenever you want. If you're more experienced, you could use an .htaccess file to be able to set customized error pages as well, as opposed to using our integrated generator tool, and in case you choose this option, the file has to be positioned inside the root directory of a specific domain or subdomain.