If a particular page on a site doesn't load for some reason or in case a link is broken, the visitor will see an error page with a generic message. The page will have nothing in common with the rest of the website, which can make the visitor leave the site. A likely solution in this case is a function made available from some hosting service providers - the ability to set up your own personalized error pages which will have the same design and style as your site and that can contain any text or images which you want depending on the particular error. There are four common errors that can take place and they involve the following so-called HTTP status codes - 400, when your browser sends a bad request to the server and it can't be processed; 401, in case you are supposed to log in to see some page, but you haven't done this yet; 403, if you do not have an authorization to see a certain page; and 404, in case a link that you have clicked leads to a file which does not exist. In any of these scenarios, website visitors will be able to see your custom content as opposed to a generic error page.
Custom Error Pages in Shared Web Hosting
The customized error pages function is provided with each shared web hosting package deal that we offer and you shall be able to swap all the generic pages with your own with no more than a couple of clicks in your Hepsia hosting Control Panel. You'll have to develop the actual files and to upload them to your account, and then to set them for a particular domain or subdomain via the Hosted Domains section of the Hepsia CP. You could do this for each and every web site hosted inside the account separately, so that every group of custom pages shall have identical style and design as the site it is part of. If needed, you may always return back to a default page from our system or to the default Apache server page. Another way to set customized error pages is to create an .htaccess file inside 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 required program code from our Help article on this subject.