When a page on your site does not load, an error message will be shown to the visitor. Because there are different errors, there are different pages that will appear, but what is common for all of them is that they are generic and most likely shall have absolutely nothing that resembles the design of your site, which can be frustrating for any website visitor. This is the reason why hosting 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 witty, in accordance with your personal preference, and which will match the design and style of your site, so the pages will not look like they aren't part of your site at all. You can 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 Web Hosting
The customized error pages function is provided with every shared web hosting package that we offer and you will be able to swap all of the generic pages with your own with no more than a few mouse clicks in your Hepsia website hosting CP. You will have to produce the actual files and to upload them to your account, and then to set them for a specific domain or subdomain using the Hosted Domains section of the Hepsia CP. You could do this for each and every website hosted inside the account individually, so that every set of custom pages shall have the exact same design as the website it is part of. If required, you can always return back to a default page from our system or to the default Apache server page. Another way to set custom made error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you haven't done this before, you may simply copy the needed code from our Help article on this subject.
Custom Error Pages in Semi-dedicated Servers
Our Linux semi-dedicated hosting service support custom error pages, so you'll be able to use this feature for every single domain or subdomain hosted in your account. All it takes to do this is to check out the Hosted Domains section of the Hepsia CP, to click the Edit button linked to the particular domain/subdomain and then to enter the link to the custom file. You could do this separately for each and every error type. You shall be able to switch back to a standard error page anytime if needed and the change will take effect straightaway. Another way to achieve the very same result is to put an .htaccess file inside the domain or subdomain folder associated with the website that you'd like to edit and to enter several lines of code in it. If you'd like to try this method, you could copy and paste the required code from our Knowledge Base article on custom error pages, hence you will not need any computer programming skills or prior experience.