If a particular page on a website does not load for some reason or in case a link is not functioning, the site visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the Internet site, which may make the visitor leave the site. A potential solution in cases like this is a feature made available from some hosting companies - the ability to set up your own custom error pages which shall have identical layout as your site and which may contain any text or images that you would like depending on the particular error. There are four standard errors that could occur and they involve these particular so-called HTTP status codes - 400, when your web browser sends a bad request to the server and it can't be processed; 401, in case you are supposed to log in to see some page, but you haven't done so yet; 403, if you don't have a permission to view a specific page; and 404, when a link which you have clicked leads to a file that does not exist. In any of these scenarios, site visitors shall be able to see your personalized content as opposed to a generic error page.

Custom Error Pages in Shared Website Hosting

The customized error pages function is provided with every single shared website hosting plan which we offer and you'll be able to replace all the generic pages with your own with no more than a few clicks in your Hepsia hosting CP. You'll need to create the actual files and to upload them to your account, and then to set them for a particular domain or subdomain using the Hosted Domains section of the Hepsia Control Panel. You could do this for each Internet site hosted in the account separately, so that each group of personalized pages shall have identical design and style as the website it is part of. If required, you can always go 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 inside the domain/subdomain root folder and to include a few lines in it. If you have never done this before, you could simply copy the needed program code from our Help article about the subject.