If a particular page on a website doesn't load for some reason or in case a link is not functioning, the website visitor will see an error page with some generic message. The page will have nothing in common with the rest of the website, that may make the visitor leave the site. A potential solution in this case is a function made available from some website hosting service providers - the ability to set your own custom error pages that will have the exact same style and design as your site and which can contain any images or text you want based on the specific error. There are four standard errors which can take place and they involve these so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the web server and it can't be processed; 401, if you are supposed to log in to see some web page, but you have not done so yet; 403, if you do not have a permission to view a specific page; and 404, if a link that you have clicked leads to a file which does not exist. In any of these cases, site visitors shall be able to see your personalized content instead of a generic error page.

Custom Error Pages in Website Hosting

The custom made error pages function is available with each website hosting plan that we offer and you shall be able to swap the generic pages with your own with no more than a couple of clicks from your Hepsia website hosting CP. You shall have to create the actual files and to upload them to your account, then to set them for a given domain or subdomain via the Hosted Domains section of the Hepsia CP. You may do this for each website hosted inside the account individually, so that every group of custom made pages shall have the same design and style as the Internet site it is part of. If needed, you could always go back to a default page from our system or to a default Apache server page. An alternate way to set personalized error pages is to create an .htaccess file inside the domain/subdomain root folder and to add a few lines in it. If you haven't done this before, you could simply copy the necessary code from our Help article about this.

Custom Error Pages in Semi-dedicated Hosting

Incorporating your personal pages for each of the 4 error types to any site hosted inside a semi-dedicated server account with us will be very basic and will not take more than several clicks. When you upload the files to your account, you could navigate to the Hosted Domains section of your Hepsia Control Panel and edit any of the domains and subdomains listed there using an intuitive interface with drop-down navigation. You can select what page should appear for each and every error type. Your choices are a standard Apache server page or a page from our system, and personalized pages. In case you choose the last option, you will need to input the link to every single page in your account, then save the change. The link or the kind of page which will be shown when a user encounters an error can be modified whenever you want. If you're more experienced, you could use an .htaccess file in order to set tailor-made error pages as well, as an alternative to using our integrated generator software tool, and in case you select this option, the file must be located in the root directory of a specific domain or subdomain.