If a particular page on a site does not load for some reason or in case a link is not functioning, the website visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the website, which can make the visitor leave the site. A potential solution in this case is a feature offered by some hosting companies - the ability to set your own custom error pages which will have exactly the same design and style as your site and which could contain any images or text that you would like dependent upon the particular error. There are 4 well-known errors which could take place 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 cannot be processed; 401, if you're supposed to log in to see some webpage, but you haven't done so yet; 403, if you don't have an authorization to see a certain page; and 404, when a link which you've clicked leads to a file which does not exist. In each of these situations, site visitors will be able to see your personalized content rather than a generic error page.

Custom Error Pages in Web Hosting

The customized error pages function is offered with each and every web hosting package deal that we offer and you will be able to replace all of the generic pages with your own with no more than just a few mouse clicks from your Hepsia hosting CP. You shall have to develop the actual files and to upload them to your account, then to set them for a particular domain or subdomain through the Hosted Domains section of the Hepsia CP. You can do this for each and every Internet site hosted in the account separately, so that each set of custom pages shall have the same layout as the Internet site it's part of. If required, you may always return back to a default page from our system or to a default Apache server page. One other way to set custom made error pages is to create an .htaccess file inside the domain/subdomain root folder and to include a few lines in it. If you have never done this before, you may simply copy the needed code from our Help article on this subject.

Custom Error Pages in Semi-dedicated Hosting

Adding your pages for each of the four error types to any Internet site hosted from a semi-dedicated server account with us will be really easy and will not take more than a few mouse clicks. When you upload the files in your account, you can navigate to the Hosted Domains section of your Hepsia CP and edit each of the domains and subdomains listed there through an intuitive interface with drop-down navigation. You may select what page should show up for every error type. Your choices are a standard Apache web server page or a page from our system, and personalized pages. Should you pick the aforementioned option, you must type in the link to every single page inside your account, then save the change. The link or the type of page which shows up in case a user encounters an error can be modified whenever you want. If you are more experienced, you can use an .htaccess file in order to set tailor-made error pages too, as opposed to using our integrated generator software tool, and in case you pick this option, the file should be placed inside the root directory of a given domain or subdomain.