If a specific page on an Internet site does not load for some reason or in case a link is broken, 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 can make the visitor leave your website. A potential solution in such a case is a function offered by some website hosting providers - the option to set up your own customized error pages which shall have the same design as your website and that can contain any images or text that you'd like based on the particular error. There are four standard errors that could occur and they involve these so-called HTTP status codes - 400, when your 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 a page, but you have not done so yet; 403, if you do not have an authorization to view a particular page; and 404, in case a link that you have clicked leads to a file that doesn't exist. In each of these situations, visitors shall be able to see your personalized content as opposed to a generic error page.

Custom Error Pages in Cloud Web Hosting

The customized error pages function is available with every single cloud web hosting package deal we offer and you shall be able to replace the generic pages with your own with no more than a couple of clicks from your Hepsia hosting CP. You will have to create 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 may do this for each web site hosted inside the account individually, so that each group of personalized pages will have the same design as the Internet site it's part of. When necessary, you can always revert back to a default page from our system or to a default Apache server page. Another way to set custom error pages is to create an .htaccess file inside the domain/subdomain root folder and to add a few lines in it. If you have not done this before, you may simply copy the required code from our Help article about this.

Custom Error Pages in Semi-dedicated Hosting

Adding your pages for each of the 4 error types to any Internet site hosted inside a semi-dedicated server account with us shall be very basic and shall not take more than a few clicks. When you upload the files in your account, you can go to the Hosted Domains section of your Hepsia Control Panel and edit each of the domains and subdomains listed there via an intuitive interface with drop-down menus. You could choose what page should display for each error type. Your choices are a standard Apache web server page or a page from our system, and custom pages. If you select the abovementioned option, you need to input the link to each and every page inside your account, then save the change. The link or the type of page that will be shown if a user encounters an error can be modified anytime. If you are more experienced, you could use an .htaccess file in order to set in-house made error pages as well, as an alternative to using our integrated generator software tool, and in case you select this option, the file has to be located inside the root directory of a specific domain or subdomain.