If a certain page on an Internet site does not load for some reason or if a link is not working, the visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the Internet site, which can make the visitor leave the website. A solution in such a case is a function made available from some web hosting companies - the ability to set your own custom error pages that will have the exact same design and style as your website and that can contain any text or images which you want based on the specific error. There are four well-known errors that can occur and they involve the following so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the hosting server and it cannot be processed; 401, in case you are supposed to log in to see a web page, but you haven't done so yet; 403, if you do not have a permission to see a specific page; and 404, in case a link which you've clicked leads to a file that doesn't exist. In all of these situations, visitors shall be able to see your customized content as opposed to a generic error page.
Custom Error Pages in Hosting
The customized error pages function is offered with each hosting package which we offer and you will be able to swap all of the generic pages with your own with no more than a couple of clicks from your Hepsia hosting Control Panel. You shall have to develop the actual files and to upload them to your account, and then to set them for a specific domain or subdomain via the Hosted Domains section of the Hepsia Control Panel. You can do this for each web site hosted in the account individually, so that every group of customized pages shall have the same design and style as the site it's part of. If necessary, you could always return back to a default page from our system or to the default Apache server page. A different 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 not done this before, you could simply copy the needed program code from our Help article on the subject.