If a specific page on an Internet site doesn't load for some reason or if a link is broken, the site visitor shall 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 the site. A likely solution in such a case is a function made available from some web hosting companies - the option to set your own custom-made error pages which will have identical design as your Internet site and that can contain any text or images that you'd like based on the particular error. There are four standard errors which may occur and they involve the following so-called HTTP status codes - 400, when your 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 webpage, but you haven't done so yet; 403, if you don't have a permission to view a particular page; and 404, if a link which you have clicked leads to a file that does not exist. In any of these scenarios, site visitors will be able to see your custom made content as opposed to a generic error page.

Custom Error Pages in Cloud Hosting

The custom error pages feature is offered with each and every cloud hosting plan we offer and you'll be able to swap the generic pages with your own with no more than just a few mouse clicks in your Hepsia hosting CP. You'll need to develop the actual files and to upload them to your account, and then to set them for a particular domain or subdomain through the Hosted Domains section of the Hepsia CP. You may do this for every website hosted inside the account individually, so that every set of customized pages will have the exact same layout as the Internet site it is part of. When necessary, you can 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 inside the domain/subdomain root folder and to include a few lines in it. If you haven't done this before, you could simply copy the required program code from our Help article on the subject.

Custom Error Pages in Semi-dedicated Servers

Including your pages for any of the four error types to any web site hosted through a semi-dedicated server account with us shall be very simple and won't take more than a few clicks. Once you upload the files inside your account, you could go to the Hosted Domains section of your Hepsia Control Panel and edit the domains and subdomains listed there via an intuitive interface with drop-down menus. You may choose what page should appear for every single error type. Your choices are a standard Apache web server page or a page from our system, and tailor-made pages. Should you select the last option, you must enter the link to each and every page inside your account, then save the change. The link or the sort of page which will appear in case a user encounters an error can be changed anytime. In case you are more experienced, you could use an .htaccess file to be able to set tailor-made error pages as well, instead of using our integrated generator instrument, and if you pick this option, the file needs to be located in the root directory of a specific domain or subdomain.