When a page on your site doesn't load, an error message shall be shown to the site visitor. Because there are different errors, there are different pages which will appear, but what is common for all of them is that they're generic and almost certainly shall have absolutely nothing that is similar to the design of your site, which can be aggravating for any visitor. This is the main reason why hosting service providers have introduced a feature known as Custom Error Pages. For a range of different errors, website visitors will see your custom made content, which may be informative or amusing, in accordance with your preference, and which will match the design and style of your website, so the pages will not appear as if they are not part of your website at all. You may use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Shared Hosting
You shall be able to set up customized error pages for any of your domains or subdomains. The feature is supported by all shared hosting plans which we offer, so when you log in to the Hepsia CP and navigate to 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 may pick the sort of error page which should appear - a default one from our system, a typical Apache web server page or a personalized one. For the latter option, you need to specify the URL to the page, so if you use custom pages, you have to upload the files in your Internet hosting account first. One other way is to use an .htaccess file located in the domain or subdomain folder with a line for each and every error type. The correct syntax can be found in our Knowledge Base, to help you use this feature even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Servers
All semi-dedicated hosting plans that we offer support personalized error pages and it shall not take more than a few clicks from your Hepsia web hosting Control Panel to use this function. The option is included in the Hosted Domains section of your Control Panel where you will need to enter the links to the custom-made files through simple drop-down menus and an easy to use interface. Needless to say, you should upload them inside your account before that. In case you do not want to employ this feature at some point, you can easily disable it just as easily and pick an Apache server page or a default page from our system to be displayed when your visitors encounter an error. If you'd like to, you could also use an .htaccess file to allow the custom error pages. The file should include a particular line of code and a link for each and every error type and you can discover an example of the entire content for all four error types in our Help section.