If a specific page on an Internet site doesn't load for some reason or in case a link is broken, the website visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the site, that can make the visitor leave your Internet site. A solution in such a case is a feature made available from some web hosting companies - the ability to set your own customized error pages which will have identical design and style as your site and that can contain any text or images you want dependent upon the specific error. There are 4 common errors that could occur and they involve these so-called HTTP status codes - 400, when your Internet browser sends a bad request to the hosting server and it can't be processed; 401, if you're supposed to log in to see some page, but you have not done this yet; 403, if you don't have an authorization to see a particular page; and 404, in case a link that you have clicked leads to a file that doesn't exist. In all of these cases, site visitors will be able to see your custom content as opposed to a generic error page.
Custom Error Pages in Hosting
The custom made error pages function is provided with every hosting package that we offer and you'll be able to swap all of the generic pages with your own with no more than just a few mouse clicks inside 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 specific domain or subdomain using the Hosted Domains section of the Hepsia CP. You may do this for every single web site hosted in the account independently, so that every group of customized pages shall have the same design as the website it is part of. When necessary, you may always go back to a default page from our system or to the default Apache server page. An alternate way to set custom error pages is to create an .htaccess file in the domain/subdomain root folder and to include a few lines in it. If you have never done this before, you could simply copy the needed code from our Help article about the subject.