When a page on your website does not load, an error message will be displayed to the visitor. Since there are different errors, there are different pages that will display, but what is standard for all of them is that they're generic and most likely shall have nothing that is similar to the layout of your website, which can be aggravating for any visitor. That is the primary reason why website hosting companies have introduced a function called Custom Error Pages. For a wide variety of different errors, website visitors will see your customized content, which may be informative or witty, based on your choice, and that will match the design of your site, so the pages will not seem like they're not part of your site at all. You may use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Cloud Hosting

The customized error pages function is offered with each cloud hosting package deal that we offer and you will be able to replace the generic pages with your own with no more than just a few clicks in your Hepsia hosting Control Panel. You shall need to develop the actual files and to upload them to your account, then to set them for a particular domain or subdomain via the Hosted Domains section of the Hepsia Control Panel. You could do this for each site hosted in the account separately, so that every set of personalized pages will have identical design and style as the Internet site it's part of. When necessary, you can always return back to a default page from our system or to a default Apache server page. A different way to set customized error pages is to create an .htaccess file inside the domain/subdomain root folder and to add a few lines in it. If you haven't done this before, you could simply copy the needed code from our Help article on the subject.

Custom Error Pages in Semi-dedicated Servers

Incorporating your own pages for each of the 4 error types to any Internet site hosted inside a semi-dedicated server account with us will be really easy and shall not take more than several clicks. Once you upload the files to your account, you can go to the Hosted Domains section of your Hepsia CP and edit each of the domains and subdomains listed there via an intuitive interface with drop-down navigation. You may select what page should show up for each error type. The options are a standard Apache server page or a page from our system, and customized pages. Should you select the abovementioned option, you have to enter the link to every single page inside your account, then save the change. The link or the type of page which will be shown if a user encounters an error can be modified whenever you want. If you're more experienced, you can use an .htaccess file to set in-house made error pages too, rather than using our integrated generator instrument, and should you select this option, the file must be placed in the root directory of a particular domain or subdomain.