Whenever a page on your website doesn't load, an error message will be shown to the website visitor. Since there are different errors, there are different pages that will appear, but what's standard for all of them is that they're generic and in all probability shall have practically nothing that resembles the design of your Internet site, which may be frustrating for any website visitor. This is the primary reason why website hosting service providers have introduced a feature referred to as Custom Error Pages. For a variety of different errors, site visitors will see your custom made content, which could be informative or humorous, in accordance with your choice, and which will match the design of your Internet site, so the pages won't look like they aren't part of your site at all. You could use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Cloud Website Hosting

You'll be able to set up personalized error pages for all of your domains or subdomains. The function is supported by all cloud website hosting plans that we provide, so after you log in to the Hepsia Control Panel and go to the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up which will show up, you can pick the kind of error page that should show up - a default one from our system, a typical Apache web server page or a personalized one. For the latter alternative, you must specify the URL to the page, so when you use personalized pages, you must upload the files inside your hosting account first. Another way is to use an .htaccess file located in the domain or subdomain folder with a line for each and every error type. The precise syntax can be located in our Knowledge Base, to help you use this feature even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

All of our Linux semi-dedicated hosting support personalized error pages, so you will be able to employ this feature for every single domain or subdomain hosted in your account. All it will take to do that is to navigate to the Hosted Domains section of the Hepsia CP, to click on the Edit button linked to the given domain/subdomain and to enter the link to the custom file. You could do this individually for every error type. You shall be able to switch back to a generic error page at any time if needed and the change will take effect right away. An alternative way to get the same exact result is to put an .htaccess file in the domain or subdomain folder associated with the site that you want to change and to enter a few lines of program code in it. If you'd like to try this method, you can copy and paste the necessary code from our Knowledge Base article on custom error pages, which means that you'll not need any coding skills or previous experience.