If you have looked at many websites, you have probably stumbled upon some error message once in a while. An error could occur when the server cannot process a request (Error 400), if you must log in so as to see some content and you have not done so (Error 401), if you are not permitted to access some page (Error 403) or if a link leads to a file which is not on the web server (Error 404). Encountering this sort of messages could sometimes be irritating since the pages have absolutely nothing in common with the actual website. That’s why some web hosting providers allow you to set your own error pages that'll match the style of your own site and that can have any content which you would like - info why the error has occurred, a suggestion how to proceed or even some humorous remark. This kind of function shall help you keep the visitor on the site regardless of the error or the reason for it.

Custom Error Pages in Shared Web Hosting

The custom error pages function is provided with each and every shared web hosting package deal that we offer and you will be able to replace the generic pages with your own with no more than several clicks in your Hepsia hosting Control Panel. You shall have to create the actual files and to upload them to your account, and then to set them for a specific domain or subdomain from the Hosted Domains section of the Hepsia CP. You can do this for every single site hosted in the account independently, so that every set of custom made pages shall have identical style and design as the site it is part of. When necessary, you could always return back to a default page from our system or to a default Apache server page. An alternate way to set custom made error pages is to create an .htaccess file inside the domain/subdomain root folder and to add a few lines in it. If you have never done this before, you may simply copy the needed program code from our Help article about this.

Custom Error Pages in Semi-dedicated Hosting

Adding your own pages for each of the 4 error types to any web site hosted through a semi-dedicated server account with us will be really simple and will not take more than several clicks. After you upload the files inside your account, you can go to the Hosted Domains section of your Hepsia Control Panel and edit the domains and subdomains listed there using an intuitive interface with drop-down menus. You may pick what page should show up for every error type. The choices are a standard Apache web server page or a page from our system, and custom made pages. If you pick the abovementioned option, you have to type the link to every single page inside your account, then save the change. The link or the type of page which shows up when a user encounters an error can be changed anytime. In case you are more experienced, you can use an .htaccess file to be able to set in-house developed error pages too, instead of using our integrated generator software instrument, and if you select this option, the file has to be positioned inside the root directory of a given domain or subdomain.