If a particular page on a site does not load for some reason or if a link is not functioning, the site visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the site, which could make the visitor leave your Internet site. A likely solution in cases like this is a function offered by some web hosting providers - the ability to set your own custom error pages that will have the same layout as your Internet site and that may contain any text or images which you want dependent upon the particular error. There are four well-known errors which could take place and they involve these so-called HTTP status codes - 400, when your Internet browser sends a bad request to the server and it cannot be processed; 401, if you are supposed to log in to see a page, but you have not done this yet; 403, if you do not have a permission to view a certain page; and 404, in case a link which you have clicked leads to a file that doesn't exist. In all of these cases, website visitors will be able to see your customized content rather than a generic error page.

Custom Error Pages in Shared Web Hosting

The personalized error pages feature is available with every shared web hosting package which we offer and you will be able to replace the generic pages with your own with no more than just a few mouse clicks inside your Hepsia website hosting Control Panel. You will need to develop 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 Control Panel. You may do this for every site hosted in the account individually, so that every set of customized pages will have the exact same style and design as the Internet site it's 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 can simply copy the required program code from our Help article about the subject.

Custom Error Pages in Semi-dedicated Hosting

Adding your personal pages for each of the 4 error types to any web site hosted through a semi-dedicated server account with us shall be very basic and won't take more than a few mouse clicks. Once you upload the files in 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 navigation. You may select what page should appear for every error type. Your options are a standard Apache server page or a page from our system, and personalized pages. In case you select the abovementioned option, you need to type the link to each and every page inside your account, then save the change. The link or the kind of page which will be displayed when a user encounters an error can be modified at any time. In case you are more experienced, you could use an .htaccess file to be able to set custom error pages as well, as opposed to using our integrated generator instrument, and in case you choose this option, the file should be located in the root directory of a given domain or subdomain.