Each time a page on your website doesn't load, an error message will be displayed to the website visitor. Because there are different errors, there are different pages that'll appear, but what is typical for all of them is that they are generic and in all probability shall have absolutely nothing in common with the layout of your site, which can be aggravating for any site visitor. This is the main reason why hosting providers have introduced a function named Custom Error Pages. For a range of different errors, site visitors will see your custom made content, which could be informative or funny, based on your choice, and which will match the style and design of your Internet site, so the pages shall not seem like they aren't part of your Internet site at all. You could use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Shared Hosting
The personalized error pages function is available with every single shared hosting
package that we offer and you will be able to substitute all the generic pages with your own with no more than several clicks in your Hepsia hosting CP. You'll need to create the actual files and to upload them to your account, and then to set them for a specific domain or subdomain through the Hosted Domains section of the Hepsia Control Panel. You could do this for each Internet site hosted inside the account separately, so that each group of personalized pages will have identical design and style as the site it is part of. When necessary, you could always return back to a default page from our system or to the default Apache server page. One other way to set customized error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you have never done this before, you can simply copy the necessary program code from our Help article on the subject.
Custom Error Pages in Semi-dedicated Hosting
All our Linux semi-dedicated hosting packages
support custom error pages, so you'll be able to employ this feature for every single domain or subdomain hosted inside your account. All it takes to do that is to visit the Hosted Domains section of the Hepsia Control Panel, to click the Edit button associated with the specific domain/subdomain and to enter the link to the custom-made file. You'll be able to do this individually for each error type. You will be able to switch back to a default error page at any time if required and the change shall take effect instantly. An alternative way to get the same result is to set an .htaccess file inside the domain or subdomain folder related to the site that you'd like to edit and to input a couple of lines of program code within it. If you need to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, which means that you'll not need any computer programming skills or previous experience.