If a particular page on a website doesn't load for some reason or if a link is not working, the site visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the site, that can make the visitor leave your website. A likely solution in such a case is a function offered by some hosting service providers - the ability to set your own customized error pages which shall have the same style and design as your Internet site and which could contain any text or images that you would like depending on the particular error. There are four standard errors which could occur and they involve the following so-called HTTP status codes - 400, when your web browser sends a bad request to the web server and it can't be processed; 401, in case you are supposed to log in to see some web page, but you haven't done so yet; 403, if you don't have a permission to view a specific page; and 404, when a link which you've clicked leads to a file which does not exist. In each of these scenarios, site visitors shall be able to see your personalized content as opposed to a generic error page.

Custom Error Pages in Cloud Hosting

You shall be able to set up customized error pages for each of your domains or subdomains. The feature is supported by all cloud hosting plans that we offer, so after you log in to the Hepsia CP and visit the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will be displayed, you could select the kind of error page which should show up - a default one from our system, a standard Apache server page or a customized one. For the last mentioned option, you'll have to specify the URL to the page, so when you use custom pages, you should upload the files in your Internet hosting account first. Another way is to use an .htaccess file positioned in the domain or subdomain folder with a line for each error type. The actual syntax can be seen in our Knowledge Base, so that you can use this feature even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

Including your own pages for any of the 4 error types to any Internet site hosted through a semi-dedicated server account with us will be very basic and won't take more than several mouse clicks. As soon as you upload the files in your account, you can go to the Hosted Domains section of your Hepsia CP and edit any of the domains and subdomains listed there using an intuitive interface with drop-down navigation. You may pick what page should display for every single error type. The alternatives are a default Apache web server page or a page from our system, and custom pages. If you select the aforementioned option, you need to type the link to every single page in your account, then save the change. The link or the type of page which will be shown if a user encounters an error can be modified whenever you want. If you are more experienced, you could use an .htaccess file to set in-house made error pages too, as an alternative to using our integrated generator software instrument, and in case you pick this option, the file needs to be positioned in the root directory of a given domain or subdomain.