If a page on your Internet site does not load, an error message will be shown to the visitor. As there are different errors, there are different pages that will display, but what's typical for all of them is that they're generic and most likely shall have absolutely nothing that resembles the layout of your site, which may be frustrating for any site visitor. This is the main reason why web hosting service providers have introduced a function called Custom Error Pages. For a number of different errors, site visitors shall see your unique content, which can be informative or witty, in accordance with your preference, and that will match the overall design and style of your website, so the pages shall not appear as if they're not part of your site 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 Shared Hosting
You'll be able to set up personalized error pages for any of your domains or subdomains. The feature is supported by all shared hosting solutions that we offer, so as soon as you log in to your Hepsia Control Panel and check out the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up which will be displayed, you can pick the kind of error page that should show up - a default one from our system, a standard Apache server page or a custom one. For the latter alternative, you will need to specify the URL to the page, so when you use custom pages, you must upload the files inside your web hosting account first. One other way is to use an .htaccess file located inside the domain or subdomain folder with a line for each error type. The precise syntax can be located in our Knowledge Base, to help you use this feature even if you don't have any previous experience.