If a page on your Internet site does not load, an error message will be displayed to the site visitor. As there are different errors, there are different pages that will display, but what is standard for all of them is that they are generic and in all probability will have nothing that is similar to the layout of your site, which could be frustrating for any visitor. That is the primary reason why hosting providers have introduced a function named Custom Error Pages. For a variety of different errors, website visitors will see your custom made content, which could be informative or funny, based on your personal preference, and which will match the overall design and style of your Internet site, so the pages won't seem like they aren't 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 Hosting
You'll be able to set up custom error pages for any of your websites without difficulty when you use any of our Linux hosting. This can easily be done using the Hosted Domains section of the Hepsia CP, which comes with all accounts and when you go there, you can set your customized pages independently for any domain or subdomain. You must upload the files to your account in advance and enter the links to them during the process. This feature may be de-activated at any time and the options you shall be able to to select from are a generic page from our system or a default Apache server page. Custom made error pages could be set with an .htaccess file too. The file should be put in the domain or subdomain folder and it must contain some system code and links to the pages. If you aren't tech-savvy, you may copy the whole content required for the file from our Help section.
Custom Error Pages in Semi-dedicated Hosting
All of our semi-dedicated hosting support tailor-made error pages, so you'll be able to employ this function for any domain or subdomain hosted inside your account. All it will take to do that is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button associated with the particular domain/subdomain and then to type in the link to the custom file. You can do this independently for each error type. You shall be able to switch back to a standard error page whenever you want if required and the change will take effect instantly. A different way to get the exact same result is to set an .htaccess file inside the domain or subdomain folder associated with the Internet site that you want to change and to input a couple of lines of program code inside it. If you'd like to try this method, you could copy and paste the needed code from our Knowledge Base article on custom error pages, hence you shall not need any computer programming skills or prior experience.