When a page on your site does not load, an error message will be shown to the site visitor. As there are different errors, there are different pages that'll show up, but what is typical for all of them is that they are generic and most likely shall have nothing that resembles the design of your website, which can be annoying for any site visitor. That is the reason why website hosting companies have introduced a feature called Custom Error Pages. For a range of different errors, visitors will see your customized content, which could be informative or witty, depending on your personal preference, and that will match the design of your Internet site, so the pages shall not appear as if they aren't part of your website 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 Shared Hosting
You will be able to set up customized error pages for all of your sites without difficulty when you use any of our Linux shared packages
. This can be done using the Hosted Domains section of the Hepsia CP, offered with all accounts and when you go there, you could set your personalized pages independently for any domain or subdomain. You should upload the files to your account before you start and enter the links to them during the process. This function could be de-activated whenever you want and the options you will be able to pick from are a standard page from our system or a default Apache web server page. Customized 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 aren't tech-savvy, you may copy the entire content needed for the file from our Help section.
Custom Error Pages in Semi-dedicated Hosting
Our Linux semi-dedicated hosting packages
support custom made error pages, thus you'll be able to use this function for every single domain or subdomain hosted in your account. All it will take to do that is to visit the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button related to the given domain/subdomain and to input the link to the custom-made file. You are able to do this independently for every error type. You'll be able to switch back to a standard error page at any time if needed and the change will take effect straightaway. Another way to get the exact same result is to put an .htaccess file inside the domain or subdomain folder associated with the Internet site which you want to modify and to input several lines of code within it. If you want to try this method, you may copy and paste the needed code from our Knowledge Base article on custom error pages, therefore you'll not need any coding skills or prior experience.