If a particular page on an Internet site does not load for some reason or in case a link is not functioning, the site visitor will see an error page with some generic message. The page will have nothing in common with the rest of the site, which may make the visitor leave your Internet site. A solution in such a case is a feature made available from some web hosting companies - the option to set your own custom error pages which shall have exactly the same design and style as your website and that may contain any text or images which you want based on the specific error. There are four well-known errors that can take place and they involve these particular so-called HTTP status codes - 400, when your web browser sends a bad request to the server and it cannot be processed; 401, if you're supposed to log in to see a page, but you haven't done so yet; 403, if you don't have an authorization to view a particular page; and 404, if a link which you've clicked leads to a file that does not exist. In each of these situations, site visitors shall be able to see your custom made content instead of a generic error page.

Custom Error Pages in Shared Web Hosting

The custom error pages function is available with every shared web hosting package deal that we offer and you shall be able to substitute all the generic pages with your own with no more than several clicks from your Hepsia website hosting CP. You will have to create the actual files and to upload them to your account, and then to set them for a given domain or subdomain using the Hosted Domains section of the Hepsia CP. You may do this for each and every site hosted in the account independently, so that each group of customized pages shall have the same design as the Internet site it is part of. If required, you may always go back to a default page from our system or to the default Apache server page. A different 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 haven't done this before, you can simply copy the necessary program code from our Help article about the subject.

Custom Error Pages in Semi-dedicated Hosting

Incorporating your pages for each of the four error types to any site hosted through a semi-dedicated server account with us shall be very easy and won't take more than several clicks. When you upload the files to your account, you can check out the Hosted Domains section of your Hepsia Control Panel and edit each of the domains and subdomains listed there via an intuitive interface with drop-down navigation. You can choose what page should appear for every error type. The options are a default Apache web server page or a page from our system, and custom made pages. If you choose the last option, you need to input the link to each page in your account, then save the change. The link or the kind of page that will appear when 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 as well, instead of using our integrated generator tool, and if you choose this option, the file needs to be positioned inside the root directory of a given domain or subdomain.