If a particular page on a site does not load for some reason or if a link is not functioning, the site visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the website, that may make the visitor leave your website. A likely solution in cases like this is a feature made available from some hosting providers - the option to set your own customized error pages which will have identical design as your Internet site and that could contain any images or text that you would like dependent upon the particular error. There are 4 common errors that may take place and they involve these particular 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 a page, but you haven't done this yet; 403, if you do not have a permission to view a particular page; and 404, if a link which you have clicked leads to a file that doesn't exist. In any of these cases, website visitors shall be able to see your custom made content rather than a generic error page.

Custom Error Pages in Hosting

The custom error pages feature is provided with each and every hosting package deal which we offer and you'll be able to swap the generic pages with your own with no more than several clicks in your Hepsia hosting Control Panel. You shall need to produce the actual files and to upload them to your account, and then to set them for a given domain or subdomain using the Hosted Domains section of the Hepsia Control Panel. You may do this for each and every Internet site hosted inside the account independently, so that every group of customized pages will have the same layout as the website it is part of. When necessary, you can always revert back to a default page from our system or to a default Apache server page. A different way to set customized error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you haven't done this before, you may simply copy the necessary program code from our Help article on the subject.

Custom Error Pages in Semi-dedicated Servers

All our semi-dedicated hosting service support personalized error pages, so you will be able to employ this function for any domain or subdomain hosted inside your account. All it takes to do this is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click the Edit button related to the particular domain/subdomain and then to type the link to the custom file. You'll be able to do this individually for each error type. You shall be able to switch back to a default error page whenever you want if necessary and the change shall take effect at once. An alternative way to get the same exact result is to place an .htaccess file in the domain or subdomain folder related to the web site that you would like to modify and to type in a few lines of program code inside it. If you need to try this method, you can copy and paste the needed code from our Knowledge Base article on custom error pages, hence you shall not need any computer programming skills or previous experience.