When a page on your site doesn't load, an error message shall be displayed to the website visitor. Since there are different errors, there are different pages that will appear, but what is typical for all of them is that they're generic and almost certainly shall have practically nothing in common with the design of your site, which could be irritating for any site visitor. This is the main reason why website hosting companies have introduced a feature called Custom Error Pages. For a variety of different errors, website visitors shall see your custom content, which can be informative or humorous, based on your preference, and which shall match the style and design of your site, so the pages will not seem like they are not part of your site at all. You may use this option for a variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Hosting

You shall be able to set up customized error pages for each of your domains or subdomains. The feature is supported by all hosting plans that we provide, so after you log in to the Hepsia Control Panel and check out the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that"ll appear, you could choose the type of error page which should appear - a default one from our system, a standard Apache server page or a customized one. For the latter option, you will need to assign the URL to the page, so when you use custom made pages, you should upload the files inside your web hosting account first. An alternative way is to use an .htaccess file placed inside the domain or subdomain folder with a line for each and every error type. The exact syntax can be found in our Knowledge Base, so you can use this function even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

Our semi-dedicated service support custom error pages, so you'll be able to employ this feature for any domain or subdomain hosted inside your account. All it will take to do this is to check out the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button linked to the specific domain/subdomain and then to type the link to the custom file. You can do this separately for each error type. You'll be able to switch back to a generic error page at any time if necessary and the change will take effect right away. A different way to achieve the exact same result is to set an .htaccess file inside the domain or subdomain folder of the web site which you want to change and to type in several lines of code inside 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 won't need any coding skills or prior experience.