When a page on your website doesn't load, an error message shall be shown to the site visitor. Since there are different errors, there are different pages that'll show up, but what's common for all of them is that they are generic and almost certainly shall have absolutely nothing in common with the layout of your site, which could be irritating for any site visitor. This is the reason why web hosting service providers have introduced a feature referred to as Custom Error Pages. For a range of different errors, visitors will see your unique content, which can be informative or amusing, based on your taste, and that will match the layout of your Internet site, so the pages shall not look like they are not part of your website at all. You may use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Hosting

The customized error pages function is offered with each shared hosting package that we offer and you shall be able to swap the generic pages with your own with no more than several mouse clicks from your Hepsia hosting CP. You will need to develop the actual files and to upload them to your account, and then to set them for a particular domain or subdomain through the Hosted Domains section of the Hepsia CP. You may do this for each site hosted inside the account independently, so that each set of customized pages will have the same design as the Internet site it is part of. If necessary, you can always go back to a default page from our system or to a default Apache server page. One other 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 never done this before, you may simply copy the required program code from our Help article about this.

Custom Error Pages in Semi-dedicated Hosting

Our Linux semi-dedicated hosting support customized error pages, so you will be able to employ this feature for every single domain or subdomain hosted inside your account. All it takes to do that is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click the Edit button associated with the given domain/subdomain and to enter the link to the custom file. You are able to do this independently for each and every error type. You'll be able to switch back to a default error page anytime if necessary and the change will take effect instantly. Another way to achieve the same result is to put an .htaccess file inside the domain or subdomain folder of the Internet site which you would like to change and to enter a few lines of code within it. If you need to try this method, you could copy and paste the needed code from our Knowledge Base article on custom error pages, therefore you will not need any coding skills or previous experience.