Each time a page on your website doesn't load, an error message will be displayed to the website visitor. Since there are different errors, there are different pages that will appear, but what is common for all of them is that they are generic and most likely shall have absolutely nothing that is similar to the design of your Internet site, which may be irritating for any visitor. This is the primary reason why hosting service providers have introduced a function named Custom Error Pages. For a range of different errors, site visitors will see your custom content, which can be informative or witty, based on your choice, and which will match the style and design of your Internet site, so the pages will not appear as if they aren't part of your site at all. You can use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Web Hosting

The personalized error pages feature is provided with every shared web hosting package deal which we offer and you will be able to replace the generic pages with your own with no more than a couple of clicks in your Hepsia hosting Control Panel. You will have to produce the actual files and to upload them to your account, and then to set them for a particular domain or subdomain from the Hosted Domains section of the Hepsia Control Panel. You could do this for each and every site hosted inside the account independently, so that every set of customized pages will have the exact same layout as the Internet site it's part of. When necessary, you can always go back to a default page from our system or to a default Apache server page. Another way to set personalized 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 not done this before, you can simply copy the needed program code from our Help article about this.

Custom Error Pages in Semi-dedicated Hosting

Incorporating your own pages for any of the 4 error types to any Internet site hosted through a semi-dedicated server account with us will be really uncomplicated and shall not take more than several clicks. Once you upload the files in 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 via an intuitive interface with drop-down navigation. You may select what page should display for every single error type. The choices are a default Apache web server page or a page from our system, and tailor-made pages. In case you choose the last option, you have to enter the link to each page inside your account, then save the change. The link or the type of page which will be displayed in case a user encounters an error can be modified anytime. If you are more experienced, you may use an .htaccess file so as to set custom error pages too, as opposed to using our integrated generator software tool, and should you pick this option, the file has to be positioned inside the root directory of a particular domain or subdomain.