If a page on your site does not load, an error message will be shown to the website visitor. As there are different errors, there are different pages that will appear, but what is typical for all of them is that they are generic and almost certainly will have absolutely nothing that resembles the design of your website, which may be frustrating for any website visitor. This is the main reason why web hosting companies have introduced a function called Custom Error Pages. For a variety of different errors, website visitors will see your custom content, which may be informative or amusing, based on your taste, and that will match the design of your website, so the pages shall not appear as if they're not part of your site at all. You can use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Web Hosting

The custom error pages feature is available with every single web hosting package deal which we offer and you shall be able to substitute all generic pages with your own with no more than several mouse clicks inside your Hepsia hosting Control Panel. You'll have to create the actual files and to upload them to your account, and then to set them for a particular domain or subdomain using the Hosted Domains section of the Hepsia CP. You may do this for each and every web site hosted inside the account separately, so that every group of customized pages shall have identical design and style as the Internet site it's part of. If required, you may always return back to a default page from our system or to the default Apache server page. An alternate way to set custom made error pages is to create an .htaccess file in the domain/subdomain root folder and to include a few lines in it. If you haven't done this before, you may simply copy the needed program code from our Help article about the subject.

Custom Error Pages in Semi-dedicated Hosting

Our Linux semi-dedicated packages support tailor-made error pages, so you shall be able to employ this feature for each and every domain or subdomain hosted in your account. All it takes to do that is to visit the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button associated with the given domain/subdomain and then to input the link to the custom file. You'll be able to do this separately for each and every error type. You'll be able to switch back to a standard error page whenever you want if needed and the change will take effect instantly. Another way to achieve the very same result is to put an .htaccess file in the domain or subdomain folder associated with the website which you'd like to change and to type in a few lines of code within it. If you want to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, therefore you shall not need any programming skills or prior experience.