If a specific page on a website does not load for some reason or if a link is broken, the website visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the site, that could make the visitor leave your website. A likely solution in this case is a function made available from some web hosting companies - the option to set your own personalized error pages which shall have exactly the same design and style as your Internet site and which may contain any text or images that you would like dependent upon the specific error. There are four common errors which can 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, if you are supposed to log in to see a webpage, but you have not done so yet; 403, if you do not have a permission to view a certain page; and 404, when a link that you have clicked leads to a file that doesn't exist. In all of these cases, website visitors will be able to see your customized content as opposed to a generic error page.

Custom Error Pages in Hosting

You will be able to set up custom made error pages for each of your domains or subdomains. The feature is supported by all hosting plans which we provide, so once you log in to the Hepsia Control Panel and visit the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up which will show up, you could pick the kind of error page that should appear - a default one from our system, a typical Apache web server page or a personalized one. For the aforementioned option, you must specify the URL to the page, so if you use customized pages, you need to upload the files inside your hosting account first. One other way is to use an .htaccess file located inside the domain or subdomain folder with a line for each and every error type. The correct syntax can be seen in our Knowledge Base, to help you use this feature even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

Including your own pages for any of the 4 error types to any site hosted from a semi-dedicated server account with us will be really easy and will not take more than several mouse clicks. As soon as you upload the files inside your account, you could check out the Hosted Domains section of your Hepsia Control Panel and edit the domains and subdomains listed there via an intuitive interface with drop-down navigation. You could select what page should display for every error type. The choices are a default Apache server page or a page from our system, and personalized pages. Should you choose the last option, you will 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 when a user encounters an error can be modified anytime. In case you’re more experienced, you may use an .htaccess file so as to set in-house developed error pages too, as opposed to using our integrated generator software instrument, and if you select this option, the file must be located in the root directory of a specific domain or subdomain.