If a particular page on an Internet site does not load for some reason or if a link is not functioning, the visitor will see an error page with some generic message. The page will have nothing in common with the rest of the site, which can make the visitor leave your website. A possible solution in this case is a feature made available from some web hosting providers - the ability to set your own custom error pages that will have identical style and design as your website and which could contain any images or text which you want depending on the specific error. There are 4 well-known errors that may occur and they involve these so-called HTTP status codes - 400, when your browser sends a bad request to the server and it cannot be processed; 401, if you're supposed to log in to see a webpage, 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 which doesn't exist. In any of these cases, site visitors will be able to see your custom made content instead of a generic error page.

Custom Error Pages in Web Hosting

The customized error pages function is provided with every single web hosting plan which we offer and you shall be able to substitute all the generic pages with your own with no more than several mouse 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 from the Hosted Domains section of the Hepsia CP. You can easily do this for each and every web site hosted inside the account separately, so that every group of custom pages shall have the same style and design 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. One other 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 never done this before, you could simply copy the required code from our Help article on the subject.

Custom Error Pages in Semi-dedicated Hosting

Adding your personal pages for any of the 4 error types to any site hosted from a semi-dedicated server account with us shall be very simple and shall not take more than a couple of clicks. After you upload the files to your account, you could go to the Hosted Domains section of your Hepsia Control Panel and edit the domains and subdomains listed there through an intuitive interface with drop-down navigation. You can pick what page should display for each and every error type. Your choices are a default Apache server page or a page from our system, and custom pages. Should you pick the last option, you must input the link to every single page in your account, then save the change. The link or the sort of page which shows up if a user encounters an error can be modified whenever you want. In case you’re more experienced, you can use an .htaccess file to set personalized error pages too, as an alternative to using our integrated generator software tool, and should you select this option, the file has to be positioned inside the root directory of a specific domain or subdomain.