If a specific page on an Internet site doesn't load for some reason or if a link is not working, the visitor will see an error page with some generic message. The page will have nothing in common with the rest of the site, that can make the visitor leave the website. A potential solution in this case is a feature offered by some website hosting providers - the ability to set up your own customized error pages that shall have exactly the same design as your Internet site and which could contain any images or text that you'd like based on the particular error. There are 4 well-known errors that can occur and they involve these so-called HTTP status codes - 400, when your world-wide web 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 some page, but you haven't done so yet; 403, if you don't have a permission to see a certain page; and 404, when a link which you've clicked leads to a file which doesn't exist. In each of these cases, visitors shall be able to see your personalized content rather than a generic error page.

Custom Error Pages in Hosting

The personalized error pages function is provided with each and every hosting plan we offer and you will be able to swap the generic pages with your own with no more than a few mouse clicks from your Hepsia hosting Control Panel. You'll have to produce the actual files and to upload them to your account, and then to set them for a given domain or subdomain through the Hosted Domains section of the Hepsia Control Panel. You may do this for each website hosted inside the account independently, so that every group of custom made pages shall have identical design and style as the site it is part of. If required, you could always return back to a default page from our system or to a default Apache server page. A different way to set custom error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you have never done this before, you may simply copy the needed program code from our Help article about this.

Custom Error Pages in Semi-dedicated Servers

Including your own pages for each of the four error types to any web site hosted inside a semi-dedicated server account with us will be really simple and shall not take more than a few clicks. When you upload the files inside your account, you could check out the Hosted Domains section of your Hepsia Control Panel and edit each of the domains and subdomains listed there using an intuitive interface with drop-down menus. You may select what page should appear for every single error type. The alternatives are a standard Apache server page or a page from our system, and personalized pages. If you choose the abovementioned option, you have to enter the link to every single page inside your account, then save the change. The link or the type of page which appears if a user encounters an error can be modified anytime. In case you’re more experienced, you could use an .htaccess file in order to set in-house made error pages too, instead of using our integrated generator software instrument, and if you select this option, the file must be placed in the root directory of a specific domain or subdomain.