If a page on your website does not load, an error message shall be shown to the site visitor. As there are different errors, there are different pages that will display, but what's common for all of them is that they're generic and most likely will have nothing in common with the layout of your site, which can be aggravating for any visitor. This is the primary reason why web hosting service providers have introduced a function named Custom Error Pages. For a number of different errors, website visitors shall see your customized content, which may be informative or funny, in accordance with your personal preference, and that will match the design of your website, so the pages will not look like they are not part of your website at all. You may use this option for a variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Cloud Web Hosting
You can set up custom error pages for each of your domains or subdomains. The function is supported by all cloud web hosting plans which we offer, so after you log in to your Hepsia Control Panel and go to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that"ll be displayed, you could pick the type of error page that should appear - a default one from our system, a conventional Apache server page or a personalized one. For the last mentioned option, you will need to assign the URL to the page, so when you use custom pages, you have to upload the files in your website hosting account first. One other way is to use an .htaccess file located inside the domain or subdomain folder with a line for every error type. The exact syntax can be located in our Knowledge Base, so you can use this function even if you do not have any previous experience.