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

Custom Error Pages in Website Hosting

The personalized error pages feature is offered with each and every website hosting package deal which we offer and you shall be able to substitute all the generic pages with your own with no more than a few clicks from your Hepsia website hosting Control Panel. You will need to produce 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 Control Panel. You could do this for each website hosted in the account individually, so that every group of custom made pages will have the same design as the Internet site it is part of. When necessary, you may always go back to a default page from our system or to a default Apache server page. A different way to set personalized error pages is to create an .htaccess file in the domain/subdomain root folder and to include a few lines in it. If you never done this before, you can simply copy the required program code from our Help article on this subject.

Custom Error Pages in Semi-dedicated Servers

Including your own pages for each of the 4 error types to any site hosted through a semi-dedicated server account with us will be very uncomplicated and shall not take more than a couple of mouse clicks. Once you upload the files to your account, you could navigate to the Hosted Domains section of your Hepsia Control Panel and edit each of the domains and subdomains listed there through an intuitive interface with drop-down navigation. You may pick what page should display for each and every error type. Your options are a standard Apache web server page or a page from our system, and custom pages. Should you choose the abovementioned option, you will need to type in the link to every single page inside your account, then save the change. The link or the kind of page that will appear in case a user encounters an error can be changed whenever you want. In case you’re more experienced, you may use an .htaccess file in order to set custom made error pages as well, instead of using our integrated generator software tool, and if you pick this option, the file should be placed inside the root directory of a specific domain or subdomain.