If a specific page on an Internet site doesn't load for some reason or if a link is broken, the site visitor will see an error page with a generic message. The page will have nothing in common with the rest of the site, which could make the visitor leave the site. A potential solution in this case is a feature made available from some website hosting service providers - the ability to set your own custom error pages that shall have the same layout as your website and that could contain any images or text you want depending on the specific error. There are four well-known errors that may take place and they involve these so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the server and it cannot be processed; 401, if you're supposed to log in to see some web page, but you haven't done this yet; 403, if you don't have an authorization to see a certain page; and 404, when a link which you have clicked leads to a file that does not exist. In all of these cases, site visitors shall be able to see your custom made content instead of a generic error page.
Custom Error Pages in Web Hosting
The custom error pages feature is offered with each and every web hosting package which we offer and you will be able to replace all the generic pages with your own with no more than a couple of clicks inside your Hepsia website hosting Control Panel. You shall have to create the actual files and to upload them to your account, then to set them for a specific domain or subdomain using the Hosted Domains section of the Hepsia CP. You could do this for every site hosted in the account separately, so that each set of custom pages shall have the exact same design as the Internet site it is part of. If required, you could always return back to a default page from our system or to the default Apache server page. A different way to set custom error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you have never done this before, you could simply copy the needed program code from our Help article on this subject.