If a certain page on an Internet site doesn't load for some reason or if a link is not functioning, the site visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the site, which can make the visitor leave your website. A solution in such a case is a feature made available from some website hosting providers - the option to set your own custom-made error pages which will have exactly the same design and style as your Internet site and which could contain any text or images that you'd like dependent upon the particular error. There are 4 popular errors which could occur and they involve these so-called HTTP status codes - 400, when your web browser sends a bad request to the web server and it can't be processed; 401, if you are supposed to log in to see a page, but you haven't done so yet; 403, if you do not have a permission to see a specific page; and 404, in case a link that you've clicked leads to a file which doesn't exist. In each of these cases, website visitors will be able to see your custom made content instead of a generic error page.

Custom Error Pages in Shared Hosting

The personalized error pages function is provided with each and every shared hosting package deal we offer and you shall be able to replace all generic pages with your own with no more than a few clicks in your Hepsia website hosting Control Panel. You shall need to produce the actual files and to upload them to your account, then to set them for a specific domain or subdomain via the Hosted Domains section of the Hepsia Control Panel. You could do this for each and every website hosted in the account separately, so that every set of personalized pages will have the very same design as the website it is part of. When necessary, you may always revert back to a default page from our system or to the 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 include a few lines in it. If you have not done this before, you can simply copy the required program code from our Help article about this.

Custom Error Pages in Semi-dedicated Hosting

All our Linux semi-dedicated services support custom error pages, so you'll be able to employ this feature for any domain or subdomain hosted inside your account. All it will take to do that is to visit 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-made file. You'll be able to do this individually for each error type. You will be able to switch back to a standard error page at any time if required and the change will take effect straightaway. A different way to get the same exact result is to put an .htaccess file in the domain or subdomain folder related to the web site which you want to change and to enter a few lines of code inside it. If you need to try this method, you may copy and paste the required code from our Knowledge Base article on custom error pages, so you will not need any programming skills or previous experience.