If a page on your Internet site doesn't load, an error message shall be displayed to the website visitor. Since there are different errors, there are different pages which will appear, but what's standard for all of them is that they are generic and in all probability will have absolutely nothing that is similar to the layout of your website, which could be annoying for any visitor. This is the main reason why hosting companies have introduced a feature known as Custom Error Pages. For a variety of different errors, visitors will see your customized content, which can be informative or funny, depending on your choice, and that will match the overall design of your website, so the pages shall not appear as if they are not part of your Internet site at all. You may use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Shared Hosting
You'll be able to set up custom made error pages for all of your websites easily if you use any of our Linux shared hosting. This could be done via the Hosted Domains section of the Hepsia CP, provided with all accounts and once you go there, you could set your custom made pages independently for any domain or subdomain. You have to upload the files to your account ahead of time and enter the links to them through the process. This function could be de-activated anytime and the options you will be able to choose from are a generic page from our system or a default Apache server page. Personalized error pages could be set with an .htaccess file too. 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're not tech-savvy, you may copy the entire content required for the file from our Help section.
Custom Error Pages in Semi-dedicated Hosting
Our Linux semi-dedicated hosting support custom made error pages, so you shall be able to use this feature for each domain or subdomain hosted in your account. All it will take to do that is to check out the Hosted Domains section of the Hepsia CP, to click the Edit button linked to the specific domain/subdomain and to input the link to the custom-made file. You can do this separately for every error type. You will be able to switch back to a generic error page anytime if necessary and the change will take effect right away. An alternative way to achieve the exact same result is to set an .htaccess file inside the domain or subdomain folder of the web site that you would like to edit and to input a few lines of 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, hence you will not need any computer programming skills or previous experience.