Whenever a page on your site doesn't load, an error message shall be displayed to the site visitor. Since there are different errors, there are different pages which will show up, but what's standard for all of them is that they are generic and almost certainly shall have absolutely nothing that resembles the design of your Internet site, which could be irritating for any website visitor. That is the reason why website hosting service providers have introduced a function named Custom Error Pages. For a number of different errors, site visitors shall see your custom made content, which may be informative or funny, in accordance with your preference, and which will match the layout of your website, so the pages shall not look like they're not part of your Internet site at all. You can use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Web Hosting

The personalized error pages feature is provided with every web hosting package we offer and you will be able to swap the generic pages with your own with no more than just a few mouse clicks from your Hepsia website hosting CP. You will have to produce the actual files and to upload them to your account, then to set them for a particular domain or subdomain from the Hosted Domains section of the Hepsia Control Panel. You can easily do this for every single website hosted inside the account individually, so that every set of customized pages shall have the exact same design as the site it's part of. If required, you can always revert back to a default page from our system or to a default Apache server page. A different way to set customized 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 code from our Help article about the subject.

Custom Error Pages in Semi-dedicated Hosting

All of our Linux semi-dedicated packages support customized error pages, so you will be able to use this feature for any domain or subdomain hosted inside your account. All it takes to do that is to check out the Hosted Domains section of the Hepsia CP, to click on the Edit button linked to the specific domain/subdomain and then to type in the link to the custom-made file. You are able to do this individually for each and every error type. You'll be able to switch back to a generic error page whenever you want if required and the change will take effect right away. A different way to get the same result is to set an .htaccess file inside the domain or subdomain folder related to the website which you'd like to edit and to input several lines of program code in it. If you'd like to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, thus you won't need any programming skills or previous experience.