If a certain page on an Internet site does not load for some reason or in case a link is not working, the site visitor will see an error page with some generic message. The page will have nothing in common with the rest of the website, that can make the visitor leave your website. A possible solution in such a case is a feature made available from some web hosting service providers - the ability to set up your own personalized error pages which will have exactly the same design and style as your site and that can contain any text or images which you want dependent upon the particular error. There are 4 standard errors that may occur and they involve the following so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the web server and it cannot be processed; 401, in case you are supposed to log in to see some webpage, but you haven't done this yet; 403, if you don't have an authorization to view a specific page; and 404, when a link which you have clicked leads to a file that does not exist. In any of these scenarios, site visitors shall be able to see your personalized content rather than a generic error page.

Custom Error Pages in Web Hosting

The custom error pages function is offered with every single web hosting package deal that we offer and you'll be able to substitute all generic pages with your own with no more than just a few mouse clicks from your Hepsia website hosting CP. You'll need to develop the actual files and to upload them to your account, then to set them for a particular domain or subdomain using the Hosted Domains section of the Hepsia Control Panel. You can easily do this for each web site hosted inside the account separately, so that each set of custom made pages shall have identical design as the website it is part of. If required, you can always go back to a default page from our system or to a default Apache server page. An alternate way to set custom made error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you haven't 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

Incorporating your own pages for any of the four error types to any web site hosted in a semi-dedicated server account with us shall be very easy and shall not take more than a few clicks. Once you upload the files to your account, you can check out the Hosted Domains section of your Hepsia CP and edit any of the domains and subdomains listed there through an intuitive interface with drop-down menus. You can select what page should display for every single error type. The options are a default Apache server page or a page from our system, and personalized pages. If you choose the last option, you will need to input the link to every page in your account, then save the change. The link or the sort of page that will be shown when a user encounters an error can be modified anytime. In case you’re more experienced, you can use an .htaccess file so as to set custom made error pages too, as an alternative to using our integrated generator instrument, and in case you pick this option, the file needs to be positioned inside the root directory of a given domain or subdomain.