If a page on your Internet site doesn't load, an error message shall be displayed to the visitor. Because there are different errors, there are different pages that will show up, but what's standard for all of them is that they are generic and almost certainly shall have absolutely nothing in common with the design of your site, which may be annoying for any website visitor. That is the main reason why hosting service providers have introduced a feature referred to as Custom Error Pages. For a wide variety of different errors, site visitors will see your customized content, which may be informative or funny, in accordance with your choice, and which will match the overall style and design of your Internet site, so the pages shall not appear as if they are not part of your Internet site at all. You can use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Web Hosting

When you purchase a shared web hosting plan from our company, you'll be able to set custom error pages for your Internet sites quickly and easily, since this feature is part of all our packages. Once you've created the files and uploaded them to your hosting account, you can check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the particular domain or subdomain. In the pop-up which will show up, 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 custom made page. In case you choose the third option, you should only enter the URL to the file which you have uploaded then save the change. A different way to set personalized error pages is to set up an .htaccess file in 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're simply not sure how to do this, you may just copy and paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Servers

Incorporating your own pages for any of the four error types to any website hosted from a semi-dedicated server account with us will be really uncomplicated and shall not take more than a few mouse clicks. As soon as you upload the files in your account, you can navigate to the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there using an intuitive interface with drop-down menus. You could select what page should display for each and every error type. The alternatives are a default Apache server page or a page from our system, and custom pages. If you select the aforementioned option, you will need to input the link to each page in your account, then save the change. The link or the sort of page which will be displayed if a user encounters an error can be changed at any time. If you're more experienced, you could use an .htaccess file so as to set in-house developed error pages too, rather than using our integrated generator instrument, and should you pick this option, the file needs to be positioned inside the root directory of a specific domain or subdomain.