Custom Error Pages

Whenever a page on your Internet site does not load, an error message will be shown to the visitor. Because there are different errors, there are different pages that will display, but what is typical for all of them is that they're generic and probably will have nothing that resembles the design of your site, which could be frustrating for any website visitor. That is the main reason why web hosting companies have introduced a feature known as Custom Error Pages. For a number of different errors, visitors shall see your unique content, which could be informative or witty, depending on your personal preference, and which shall match the layout of your Internet site, so the pages will not look like they aren't part of your website at all. You can use this option for a variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

You shall be able to set up custom error pages for each of your domains or subdomains. The feature is supported by all web hosting plans that we offer, so as soon as you log in to your Hepsia CP and check out the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that will show up, you could pick the kind of error page that should show up - a default one from our system, a standard Apache web server page or a customized one. For the latter option, you must assign the URL to the page, so if you use customized pages, you need to upload the files inside your hosting account first. One other way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for each and every error type. The actual syntax can be found in our Knowledge Base, to help you use this function even if you don't have any previous experience.

Our Linux semi-dedicated packages support personalized error pages, thus you'll be able to use this feature for any domain or subdomain hosted inside your account. All it takes to do this is to check out the Hosted Domains section of the Hepsia Control Panel, to click the Edit button related to the given domain/subdomain and to input the link to the custom file. You can do this separately for every error type. You'll be able to switch back to a generic error page anytime if required and the change will take effect straightaway. An alternative way to achieve the same result is to set an .htaccess file in the domain or subdomain folder related to the web site that you would like to modify and to input a few lines of program code inside it. If you need to try this method, you could copy and paste the required code from our Knowledge Base article on custom error pages, therefore you will not need any computer programming skills or previous experience.