If a particular page on an Internet site does not load for some reason or in case a link is not working, the visitor will see an error page with a 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 possible solution in such a case is a function offered by some web hosting companies - the ability to set your own custom error pages that shall have the same layout as your website and that may contain any text or images which you want based on the specific error. There are four well-known errors that can take place and they involve the following so-called HTTP status codes - 400, when your web browser sends a bad request to the web server and it can't be processed; 401, if you are supposed to log in to see a webpage, but you haven't done this yet; 403, if you don't have an authorization to view a particular page; and 404, if a link which you've clicked leads to a file that doesn't exist. In each of these cases, site visitors will be able to see your personalized content rather than a generic error page.

Custom Error Pages in Hosting

The custom error pages function is provided with every single hosting package we offer and you'll be able to replace all of the generic pages with your own with no more than several mouse clicks inside your Hepsia website hosting CP. You'll have to create the actual files and to upload them to your account, then to set them for a particular domain or subdomain from the Hosted Domains section of the Hepsia CP. You can easily do this for every single web site hosted in the account individually, so that each set of custom made pages shall have identical design and style as the site it's part of. When necessary, you could always return 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 inside 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 program code from our Help article on this subject.