If a specific page on a website doesn't load for some reason or in case a link is broken, the website visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the website, that can make the visitor leave the website. A possible solution in such a case is a function offered by some web hosting service providers - the option to set your own custom-made error pages that will have exactly the same layout as your site and which could contain any images or text that you would like depending on the particular error. There are 4 common errors which could occur and they involve the following so-called HTTP status codes - 400, when your Internet 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 webpage, but you have not done so yet; 403, if you don't have a permission to see a particular page; and 404, when a link that you've clicked leads to a file which does not exist. In each of these situations, website visitors will be able to see your personalized content instead of a generic error page.

Custom Error Pages in Shared Website Hosting

You can set up custom error pages for each of your websites without difficulty if you use any of our shared website hosting. This could be done via the Hosted Domains section of the Hepsia CP, provided with all accounts and when you go there, you can set your custom pages independently for any domain or subdomain. You must upload the files to your account in advance and enter the links to them through the process. This function could be de-activated anytime and the options you'll be able to choose from are a generic page from our system or a default Apache web server page. Tailor-made error pages may be set with an .htaccess file too. The file should be placed in the domain or subdomain folder and it should incorporate some system code and links to the pages. If you aren't tech-savvy, you could copy the entire content required for the file from our Help section.

Custom Error Pages in Semi-dedicated Servers

Adding your personal pages for any of the four error types to any web site hosted in a semi-dedicated server account with us shall be very simple and won't take more than a few clicks. As soon as you upload the files to your account, you could go to the Hosted Domains section of your Hepsia Control Panel and edit any of the domains and subdomains listed there through an intuitive interface with drop-down navigation. You could select what page should display for every single error type. Your choices are a default Apache web server page or a page from our system, and personalized pages. If you choose the last option, you need to enter the link to each and every page in your account, then save the change. The link or the sort of page which will appear when a user encounters an error can be changed whenever you want. In case you’re more experienced, you may use an .htaccess file to be able to set in-house made error pages as well, rather than using our integrated generator instrument, and should you pick this option, the file has to be positioned inside the root directory of a particular domain or subdomain.