Whenever a page on your Internet site doesn't load, an error message will be displayed to the visitor. Because there are different errors, there are different pages which will appear, but what's standard for all of them is that they're generic and probably shall have practically nothing that resembles the design of your website, which can be irritating for any site visitor. That is the main reason why hosting companies have introduced a function named Custom Error Pages. For a number of different errors, website visitors will see your customized content, which can be informative or humorous, based on your personal preference, and which shall match the layout of your site, so the pages shall not appear as if they are not part of your site at all. You can use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Hosting
You can set up customized error pages for each of your websites without difficulty when you use any of our Linux hosting. This can be done using the Hosted Domains part of the Hepsia Control Panel, which comes with all accounts and when you go there, you'll be able to set your customized pages independently for any domain or subdomain. You have to upload the files to your account ahead of time and input the links to them through the process. This function could be de-activated at any time and the options you will be able to pick from are a generic page from our system or a default Apache web server page. Customized error pages could be set with an .htaccess file as well. The file should be put into the domain or subdomain folder and it should contain some system code and links to the pages. If you aren't tech-savvy, you may copy the entire content required for the file from our Help section.
Custom Error Pages in Semi-dedicated Hosting
All of our semi-dedicated hosting support personalized error pages, so you shall be able to employ this feature for every single domain or subdomain hosted inside your account. All it takes to do this is to visit the Hosted Domains section of the Hepsia CP, to click on the Edit button related to the specific domain/subdomain and to type the link to the custom-made file. You are able to do this individually for each error type. You'll be able to switch back to a generic error page whenever you want if necessary and the change shall take effect at once. A different way to achieve the same result is to set an .htaccess file inside the domain or subdomain folder of the Internet site that you want to edit and to enter a few lines of program code in it. If you would like to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, so you'll not need any computer programming skills or previous experience.