If a page on your website doesn't load, an error message will be shown to the site visitor. Because there are different errors, there are different pages that'll show up, but what's typical for all of them is that they're generic and almost certainly will have nothing that is similar to the layout of your site, which can be frustrating for any visitor. This is the primary reason why web hosting service providers have introduced a feature called Custom Error Pages. For a number of different errors, website visitors shall see your customized content, which could be informative or humorous, based on your preference, and which shall match the layout of your Internet site, so the pages won't appear as if they are not part of your website at all. You could 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 can set up custom error pages for each of your domains or subdomains. The feature is supported by all shared hosting solutions which we provide, so as soon as you log in to your Hepsia CP and visit the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that"ll appear, you could select the type of error page that should show up - a default one from our system, a standard Apache server page or a customized one. For the latter option, you will need to assign the URL to the page, so when you use customized pages, you need to upload the files in your web hosting account first. One other way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for every error type. The actual syntax can be found in our Knowledge Base, to help you use this feature even if you don't have any previous experience.