Each time a page on your site does not load, an error message shall be displayed to the visitor. Because there are different errors, there are different pages that will display, but what's standard for all of them is that they are generic and probably will have absolutely nothing that resembles the design of your Internet site, which could be annoying for any site visitor. That is the reason why web hosting service providers have introduced a function referred to as Custom Error Pages. For a variety of different errors, visitors will see your custom content, which can be informative or humorous, in accordance with your choice, and which shall match the overall layout of your website, so the pages shall not look like they aren't part of your website at all. You may 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 personalized error pages for all of your Internet sites without difficulty if you use any of our hosting. This could be done using the Hosted Domains section of the Hepsia CP, offered with all accounts and once you go there, you can set your personalized pages independently for any domain or subdomain. You need to upload the files to your account before you start and input the links to them during the process. This feature can be de-activated at any time and the options you'll be able to choose from are a generic page from our system or a default Apache server page. Custom error pages could be set with an .htaccess file too. The file should be placed in the domain or subdomain folder and it must incorporate some system code and links to the pages. If you aren't tech-savvy, you can copy the entire content needed for the file from our Help section.
Custom Error Pages in Semi-dedicated Hosting
Our Linux semi-dedicated hosting support custom error pages, thus you'll be able to use this feature for each and every domain or subdomain hosted in your account. All it takes to do this is to visit the Hosted Domains section of the Hepsia CP, to click the Edit button linked to the particular domain/subdomain and to input the link to the custom file. You'll be able to do this individually for every error type. You will be able to switch back to a default error page at any time if needed and the change shall take effect immediately. An alternative way to get the same exact result is to put an .htaccess file inside the domain or subdomain folder associated with the website that you want to modify and to input a few lines of program code in it. If you'd like to try this method, you may copy and paste the required code from our Knowledge Base article on custom error pages, therefore you will not need any programming skills or previous experience.