If a specific page on a site does not load for some reason or if a link is broken, the visitor will see an error page with a generic message. The page will have nothing in common with the rest of the website, that can make the visitor leave the site. A likely solution in this case is a function offered by some website hosting providers - the option to set your own custom error pages that shall have the exact same style and design as your website and which could contain any images or text that you'd like dependent upon the particular error. There are 4 popular errors which could take place and they involve these so-called HTTP status codes - 400, when your Internet browser sends a bad request to the server and it cannot be processed; 401, in case you are supposed to log in to see some page, but you have not done this yet; 403, if you do not have a permission to view a certain page; and 404, in case a link which you have clicked leads to a file which doesn't exist. In each of these scenarios, visitors will be able to see your custom made content as opposed to a generic error page.

Custom Error Pages in Shared Hosting

You shall be able to set up custom error pages for any of your domains or subdomains. The feature is supported by all shared hosting solutions that we offer, so once you log in to the Hepsia CP and go to the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that will be displayed, you can pick the sort of error page which should appear - a default one from our system, a conventional Apache server page or a customized one. For the latter alternative, you will need to specify the URL to the page, so if you use custom made pages, you must upload the files in your web hosting account first. An alternative way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for each error type. The actual syntax can be located in our Knowledge Base, to help you use this function even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

Incorporating your pages for any of the 4 error types to any web site hosted inside a semi-dedicated server account with us will be very easy and shall not take more than several clicks. As soon as you upload the files to your account, you could go to the Hosted Domains section of your Hepsia CP and edit any of the domains and subdomains listed there via an intuitive interface with drop-down menus. You can choose what page should show up for each error type. The alternatives are a default Apache server page or a page from our system, and custom pages. If you choose the aforementioned option, you need to input the link to each page in your account, then save the change. The link or the kind of page that will be shown when a user encounters an error can be modified anytime. If you're more experienced, you may use an .htaccess file to be able to set in-house made error pages too, rather than using our integrated generator software instrument, and in case you choose this option, the file needs to be placed inside the root directory of a specific domain or subdomain.