If a particular page on an Internet site does not load for some reason or in case a link is broken, the visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the site, which may make the visitor leave the website. A likely solution in this case is a function offered by some website hosting service providers - the ability to set up your own personalized error pages that will have identical layout as your site and that can contain any text or images which you want dependent upon the particular error. There are four common errors that can occur and they involve the following so-called HTTP status codes - 400, when your Internet browser sends a bad request to the web server and it cannot be processed; 401, if you are supposed to log in to see a webpage, 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 which you've clicked leads to a file which doesn't exist. In any of these cases, website visitors shall be able to see your custom content rather than a generic error page.

Custom Error Pages in Website Hosting

The custom error pages function is offered with each and every website hosting package we offer and you will be able to substitute all of the generic pages with your own with no more than a few clicks from your Hepsia website hosting Control Panel. You will need to produce 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 can do this for each and every web site hosted inside the account separately, so that each group of customized pages shall have the same layout as the website it is part of. If needed, you could always return back to a default page from our system or to the default Apache server page. Another way to set customized 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 can simply copy the necessary program code from our Help article on this subject.

Custom Error Pages in Semi-dedicated Hosting

Our Linux semi-dedicated hosting support custom error pages, so you shall be able to employ this feature for every single domain or subdomain hosted in your account. All it will take to do this is to navigate to the Hosted Domains section of the Hepsia CP, to click on the Edit button related to the specific domain/subdomain and to type the link to the custom file. You could do this individually for every error type. You will be able to switch back to a generic error page at any time if necessary and the change shall take effect at once. An alternative way to achieve the same result is to place an .htaccess file in the domain or subdomain folder related to the web site that you'd like to modify and to type in several lines of code in it. If you want to try this method, you can copy and paste the needed code from our Knowledge Base article on custom error pages, hence you will not need any coding skills or prior experience.