Whenever a page on your Internet site doesn't load, an error message shall be displayed to the website visitor. As there are different errors, there are different pages that'll display, but what's typical for all of them is that they are generic and almost certainly will have nothing that resembles the design of your website, which may be annoying for any website visitor. This is the main reason why hosting service providers have introduced a function known as Custom Error Pages. For a wide variety of different errors, visitors shall see your unique content, which can be informative or funny, in accordance with your preference, and that will match the layout of your website, so the pages will not appear as if they're not 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'll be able to set up custom error pages for all of your domains or subdomains. The feature is supported by all shared hosting solutions that we provide, so after you log in to the Hepsia CP and check out the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that"ll be displayed, you may select the type of error page which should show up - a default one from our system, a standard Apache server page or a personalized one. For the aforementioned alternative, you must specify the URL to the page, so when you use custom pages, you have to upload the files inside your website hosting account first. Another way is to use an .htaccess file located in the domain or subdomain folder with a line for each and every error type. The precise syntax can be seen in our Knowledge Base, so that you can use this function even if you don't have any previous experience.