Whenever a page on your Internet site doesn't load, an error message will be shown to the site visitor. As there are different errors, there are different pages which will appear, but what's typical for all of them is that they are generic and most likely will have nothing that resembles the design of your Internet site, which may be annoying for any visitor. This is the reason why web hosting service providers have introduced a feature named Custom Error Pages. For a variety of different errors, visitors shall see your customized content, which may be informative or amusing, depending on your personal preference, and which will match the overall layout of your website, so the pages won't look like they are not part of your Internet site at all. You may use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Hosting

You'll be able to set up personalized error pages for any of your domains or subdomains. The feature is supported by all shared hosting package which we provide, so as soon as you log in to the Hepsia CP and go to the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up which will show up, you may pick the sort of error page which should appear - a default one from our system, a conventional Apache web server page or a customized one. For the aforementioned alternative, you will need to assign the URL to the page, so when you use personalized pages, you must upload the files inside your hosting account first. Another way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for each error type. The exact syntax can be located in our Knowledge Base, so that you can use this function even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

All our Linux semi-dedicated hosting packages support tailor-made error pages, so you shall be able to use this feature for any domain or subdomain hosted in your account. All it takes to do this is to visit the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button linked to the given domain/subdomain and then to type the link to the custom-made file. You could do this separately for each error type. You'll be able to switch back to a standard error page at any time if needed and the change shall take effect instantly. A different way to get the same exact result is to put an .htaccess file in the domain or subdomain folder of the Internet site which you would like to edit and to type in a few lines of code within it. If you would like to try this method, you may copy and paste the required code from our Knowledge Base article on custom error pages, which means that you'll not need any programming skills or prior experience.