Custom Error Pages
Understand what a Custom Error Page is, what role does it serve and how to set up one.
If a specific page on an Internet site does not load for some reason or in case a link is broken, the site visitor will see an error page with some generic message. The page will have nothing in common with the rest of the site, that could make the visitor leave the site. A solution in cases like this is a function offered by some hosting service providers - the ability to set up your own customized error pages which will have the same design as your site and that could contain any text or images which you want dependent upon the particular error. There are four standard errors which could take place and they involve these particular 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, if you are supposed to log in to see some web page, but you have not done this yet; 403, if you don't have a permission to see a certain page; and 404, if a link that you've clicked leads to a file which does not exist. In all of these situations, site visitors will be able to see your custom made content instead of a generic error page.
-
Custom Error Pages in Shared Hosting
The custom made error pages feature is available with every
shared hosting package deal that we offer and you shall be able to substitute all the generic pages with your own with no more than several mouse clicks inside your Hepsia hosting Control Panel. You will have to develop the actual files and to upload them to your account, and then to set them for a particular domain or subdomain through the Hosted Domains section of the Hepsia CP. You can do this for each site hosted inside the account independently, so that every set of personalized pages will have the exact same design as the site it's part of. If necessary, you may always revert back to a default page from our system or to the default Apache server page. Another way to set custom error pages is to create an .htaccess file inside the domain/subdomain root folder and to add a few lines in it. If you haven't done this before, you can simply copy the needed program code from our Help article about the subject.
-
Custom Error Pages in Semi-dedicated Servers
All our
semi-dedicated plans support custom error pages, so you shall be able to employ this feature for each domain or subdomain hosted in your account. All it takes to do this is to go to the Hosted Domains section of the Hepsia CP, to click on the Edit button linked to the given domain/subdomain and then to input the link to the custom file. You are able to do this individually for every error type. You'll be able to switch back to a default error page at any time if required and the change shall take effect instantly. A different way to achieve the very same result is to set an .htaccess file inside the domain or subdomain folder of the site which you would like to edit and to input a couple of lines of code in it. If you'd like to try this method, you can copy and paste the necessary code from our Knowledge Base article on custom error pages, which means that you shall not need any computer programming skills or previous experience.