When a page on your site doesn't load, an error message shall be shown to the visitor. As there are different errors, there are different pages that'll display, but what's typical for all of them is that they're generic and most likely will have absolutely nothing in common with the design of your website, which may be irritating for any website visitor. This is the main reason why web hosting service providers have introduced a feature called Custom Error Pages. For a variety of different errors, visitors shall see your custom made content, which may be informative or funny, based on your personal preference, and which will match the design of your website, so the pages will not appear as if they are not part of your Internet site at all. You could 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 customized error pages feature is offered with each shared web hosting plan that we offer and you will be able to swap all of the generic pages with your own with no more than a few clicks inside your Hepsia website hosting CP. You'll need to develop the actual files and to upload them to your account, and then to set them for a specific domain or subdomain using the Hosted Domains section of the Hepsia CP. You can easily do this for every single Internet site hosted inside the account independently, so that every group of custom pages will have the exact same design and style as the website 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. A different way to set personalized error pages is to create an .htaccess file in the domain/subdomain root folder and to include a few lines in it. If you haven't done this before, you could simply copy the needed program code from our Help article on this subject.

Custom Error Pages in Semi-dedicated Servers

Including your pages for each of the 4 error types to any Internet site hosted inside a semi-dedicated server account with us will be very simple and will not take more than a few clicks. Once you upload the files in your account, you can go to the Hosted Domains section of your Hepsia Control Panel and edit any of the domains and subdomains listed there using an intuitive interface with drop-down menus. You could select what page should display for each and every error type. The alternatives are a standard Apache server page or a page from our system, and tailor-made pages. If you select the aforementioned option, you have to type the link to every single page inside your account, then save the change. The link or the sort of page that appears if a user encounters an error can be modified anytime. In case you’re more experienced, you may use an .htaccess file to be able to set personalized error pages as well, instead of using our integrated generator instrument, and should you select this option, the file needs to be positioned inside the root directory of a particular domain or subdomain.