If a specific page on an Internet site doesn't load for some reason or if a link is not functioning, the website visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the Internet site, that could make the visitor leave your site. A likely solution in such a case is a function offered by some hosting providers - the option to set your own customized error pages that will have the same design and style as your website and that may contain any images or text you want dependent upon the specific error. There are four popular errors which can take place and they involve the following so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the hosting server and it can't 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 particular page; and 404, in case a link which you have clicked leads to a file that doesn't exist. In any of these scenarios, website visitors will be able to see your custom made content instead of a generic error page.

Custom Error Pages in Hosting

The custom made error pages feature is offered with each hosting package we offer and you will be able to substitute all the generic pages with your own with no more than a couple of mouse clicks in your Hepsia website hosting CP. You shall need to develop the actual files and to upload them to your account, then to set them for a particular domain or subdomain using the Hosted Domains section of the Hepsia CP. You could do this for each and every website hosted in the account independently, so that every set of customized pages shall have the same style and design as the site it is part of. If required, you could always revert back to a default page from our system or to a default Apache server page. Another way to set personalized error pages is to create an .htaccess file in the domain/subdomain root folder and to include a few lines in it. If you haven't done this before, you can simply copy the required code from our Help article on this subject.

Custom Error Pages in Semi-dedicated Hosting

All our Linux semi-dedicated hosting packages support custom error pages, so you shall be able to use this feature for each domain or subdomain hosted inside your account. All it takes to do that is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button related to the given domain/subdomain and to enter the link to the custom-made file. You are able to do this separately for each and every error type. You shall be able to switch back to a generic error page anytime if required and the change shall take effect at once. Another way to get the exact same result is to set an .htaccess file inside the domain or subdomain folder of the site which you'd like to change and to enter several lines of program code inside it. If you'd like to try this method, you may copy and paste the needed code from our Knowledge Base article on custom error pages, so you shall not need any programming skills or prior experience.