Whenever a page on your site does not load, an error message shall be shown to the website visitor. As there are different errors, there are different pages that will display, but what is typical for all of them is that they're generic and in all probability shall have absolutely nothing that resembles the layout of your site, which may be irritating for any visitor. This is the primary reason why hosting service providers have introduced a feature named Custom Error Pages. For a wide variety of different errors, website visitors will see your unique content, which could be informative or funny, depending on your taste, and which will match the overall layout of your Internet site, so the pages won't seem like they are not 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 Web Hosting

The custom error pages feature is available with every single web hosting package deal which we offer and you'll be able to swap the generic pages with your own with no more than a few mouse clicks inside your Hepsia website hosting Control Panel. You'll need to produce the actual files and to upload them to your account, and then to set them for a given domain or subdomain through the Hosted Domains section of the Hepsia CP. You may do this for each site hosted in the account individually, so that every set of customized pages will have the same layout as the website it's part of. When necessary, you may always return back to a default page from our system or to the default Apache server page. Another 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 have not done this before, you can simply copy the required code from our Help article about this.

Custom Error Pages in Semi-dedicated Servers

Including your own pages for any of the 4 error types to any web site hosted inside a semi-dedicated server account with us shall be very uncomplicated and will not take more than several mouse clicks. Once you upload the files inside your account, you can check out 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 can choose what page should appear for each and every error type. Your choices are a standard Apache web server page or a page from our system, and customized pages. Should you choose the aforementioned option, you must enter the link to every single page inside your account, then save the change. The link or the kind of page which appears if a user encounters an error can be modified at any time. In case you’re more experienced, you could use an .htaccess file to be able to set customized error pages too, as opposed to using our integrated generator instrument, and if you choose this option, the file has to be placed in the root directory of a given domain or subdomain.