Whenever a page on your Internet site doesn't load, an error message shall be shown to the visitor. Since there are different errors, there are different pages which will display, but what's typical for all of them is that they are generic and almost certainly will have absolutely nothing that resembles the layout of your website, which may be annoying for any site visitor. That is the primary reason why website hosting providers have introduced a function called Custom Error Pages. For a range of different errors, visitors shall see your customized content, which may be informative or humorous, depending on your personal preference, and which shall match the overall design and style of your site, so the pages will not appear as if they're not part of your site 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 Cloud Web Hosting

The custom error pages feature is offered with every single cloud web hosting package deal which we offer and you'll be able to replace all the generic pages with your own with no more than a few mouse clicks from your Hepsia website hosting CP. You shall have to develop the actual files and to upload them to your account, then to set them for a specific domain or subdomain through the Hosted Domains section of the Hepsia Control Panel. You can easily do this for each Internet site hosted inside the account separately, so that every set of custom pages shall have identical layout as the Internet site it is part of. If required, you can always return back to a default page from our system or to a default Apache server page. A different way to set personalized error pages is to create an .htaccess file in the domain/subdomain root folder and to include a few lines in it. If you have not done this before, you could simply copy the necessary code from our Help article on this subject.

Custom Error Pages in Semi-dedicated Hosting

Our Linux semi-dedicated services support personalized error pages, so you will be able to use this feature for any domain or subdomain hosted inside your account. All it will take to do that is to check out the Hosted Domains section of the Hepsia CP, to click on the Edit button related to the given domain/subdomain and to input the link to the custom file. You'll be able to do this separately for every error type. You shall be able to switch back to a generic error page whenever you want if necessary and the change shall take effect straightaway. An alternative way to achieve the exact same result is to place an .htaccess file inside the domain or subdomain folder related to the website which you want to edit and to type in a couple of lines of program code inside it. If you need to try this method, you can copy and paste the necessary code from our Knowledge Base article on custom error pages, therefore you will not need any programming skills or previous experience.