If a particular page on a site doesn't load for some reason or if a link is not working, the site visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the website, which could make the visitor leave your site. A solution in such a case is a function made available from some web hosting providers - the ability to set your own custom-made error pages which will have the same design as your Internet site and that can contain any text or images which you want depending on the particular error. There are 4 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 hosting server and it cannot be processed; 401, in case you are supposed to log in to see a webpage, but you have not done so yet; 403, if you do not have a permission to view a specific page; and 404, when a link that you have clicked leads to a file which does not exist. In each of these scenarios, visitors will be able to see your custom content instead of a generic error page.

Custom Error Pages in Shared Web Hosting

The personalized error pages feature is available with each shared web hosting package we offer and you shall be able to substitute all the generic pages with your own with no more than a few clicks in your Hepsia website hosting CP. You shall have to create the actual files and to upload them to your account, then to set them for a given domain or subdomain via the Hosted Domains section of the Hepsia CP. You may do this for each website hosted inside the account individually, so that every set of personalized pages will have the same design as the Internet site it is part of. If needed, you could always revert back to a default page from our system or to the default Apache server page. One other way to set custom made 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 could simply copy the required program code from our Help article about this.

Custom Error Pages in Semi-dedicated Hosting

All Linux semi-dedicated hosting which we supply support customized error pages and it shall not take more than several mouse clicks from your Hepsia website hosting Control Panel to use this functionality. The option is available in the Hosted Domains section of your Control Panel where you will have to type in the links to the custom-made files through basic drop-down menus and a time and effort saving interface. Needless to say, you should upload them in your account before that. If you don't need to use this function at some point, you could disable it just as easily and pick an Apache server page or a default page from our system to be viewable when your visitors encounter an error. If you'd like to, you may also use an .htaccess file to activate the custom error pages. The file should have a particular line of code and a link for every error type and you can discover an example of the whole content for all four error types in our Help section.