Whenever a page on your Internet site doesn't load, an error message shall be displayed to the visitor. Because there are different errors, there are different pages which will display, but what's typical for all of them is that they're generic and most likely shall have absolutely nothing that resembles the layout of your Internet site, which can be frustrating for any visitor. This is the primary reason why web hosting companies have introduced a function called Custom Error Pages. For a wide variety of different errors, site visitors shall see your custom made content, which could be informative or humorous, depending on your taste, and that will match the overall design and style of your Internet site, so the pages shall not appear as if they aren't part of your website at all. You could use this option for a variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Hosting

The customized error pages feature is offered with every hosting package deal that we offer and you will be able to swap all generic pages with your own with no more than just a few mouse clicks in your Hepsia website hosting CP. You will 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 Control Panel. You can do this for each and every website hosted inside the account independently, so that every set of custom made pages shall have the very same style and design as the website it is part of. When necessary, you may always revert back to a default page from our system or to a default Apache server page. An alternate way to set custom 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 could simply copy the necessary program code from our Help article on the subject.

Custom Error Pages in Semi-dedicated Servers

Including your pages for each of the 4 error types to any web site hosted inside a semi-dedicated server account with us shall be very basic and shall not take more than several clicks. When you upload the files to your account, you could navigate 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 navigation. You may choose what page should appear for every single error type. Your options are a standard Apache web server page or a page from our system, and custom pages. If you pick the abovementioned option, you will need to type in the link to every single page in your account, then save the change. The link or the kind of page that shows up when a user encounters an error can be changed at any time. In case you are more experienced, you could use an .htaccess file to be able to set custom made error pages as well, rather than using our integrated generator tool, and in case you select this option, the file must be positioned in the root directory of a specific domain or subdomain.