If a particular page on a website does not load for some reason or in case 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 Internet site, that can make the visitor leave your site. A possible solution in cases like this is a feature made available from some hosting providers - the ability to set up your own custom error pages that will have identical design and style as your Internet site and that could contain any text or images which you want dependent upon the specific error. There are four common errors that may occur and they involve the following so-called HTTP status codes - 400, when your Internet browser sends a bad request to the server and it can't be processed; 401, if you are supposed to log in to see some web page, but you haven't done this yet; 403, if you do not have a permission to see a certain page; and 404, in case a link that you have clicked leads to a file which doesn't exist. In all of these cases, site visitors will be able to see your custom made content rather than a generic error page.

Custom Error Pages in Shared Website Hosting

The custom error pages feature is provided with each and every shared website hosting package deal which we offer and you'll be able to substitute the generic pages with your own with no more than just a few clicks in your Hepsia website hosting Control Panel. You shall need to develop the actual files and to upload them to your account, then to set them for a given domain or subdomain using the Hosted Domains section of the Hepsia CP. You may do this for each and every Internet site hosted in the account independently, so that each group of personalized pages will have the exact same design and style as the website 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. One other way to set customized error pages is to create an .htaccess file in the domain/subdomain root folder and to include a few lines in it. If you never done this before, you can simply copy the needed code from our Help article on the subject.

Custom Error Pages in Semi-dedicated Servers

If you host your sites in a semi-dedicated server account with our company, you could set custom error pages for each of them effortlessly using our in-house created Hepsia hosting Control Panel. With just several clicks inside the Hosted Domains section, you can modify the default setting from a system page to a custom one for any of the 4 error types. All you need to do is supply a link to each file which you have uploaded before that and then save the change. If needed, you will be able to revert this customization anytime and in exactly the same way. If you prefer, you may use an .htaccess file as well. It has to be created/uploaded within the domain or subdomain folder linked to the website whose error pages you want to alter and the content for this kind of file can be found in our Help article for this matter.