Custom Error Pages
Discover more about website error pages, when they display and why you should make use of customized error pages.
If a page on your website doesn't load, an error message will be displayed to the visitor. Since there are different errors, there are different pages that will appear, but what's typical for all of them is that they are generic and almost certainly shall have nothing that resembles the design of your website, which may be annoying for any visitor. This is the main reason why web hosting companies have introduced a feature named Custom Error Pages. For a number of different errors, website visitors shall see your custom content, which can be informative or witty, in accordance with your taste, and which shall match the style and design of your website, so the pages shall not appear as if they aren't part of your website at all. You could use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Cloud Hosting
You will be able to set up personalized error pages for all of your sites effortlessly if you use any of our cloud service
. This can be done using the Hosted Domains section of the Hepsia Control Panel, provided with all accounts and when you go there, you can set your customized pages independently for any domain or subdomain. You should upload the files to your account before you start and enter the links to them through the process. This function could be de-activated anytime and the options you shall be able to to pick from are a generic page from our system or a default Apache server page. Custom error pages may be set with an .htaccess file as well. The file should be placed in the domain or subdomain folder and it must include some system code and links to the pages. If you are not tech-savvy, you may copy the entire content necessary for the file from our Help section.
Custom Error Pages in Semi-dedicated Servers
All our Linux semi-dedicated servers
support custom made error pages, so you'll be able to employ this feature for each and every 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 CP, to click the Edit button linked to the given domain/subdomain and then to input the link to the custom-made file. You can do this separately for each and every error type. You will be able to switch back to a standard error page anytime if necessary and the change will take effect immediately. An alternative way to get the same exact result is to put an .htaccess file in the domain or subdomain folder of the web site that you would like to change and to enter several lines of program code in it. If you need to try this method, you could copy and paste the necessary code from our Knowledge Base article on custom error pages, so you will not need any coding skills or prior experience.