If a page on your site does not load, an error message will be displayed to the site visitor. Because there are different errors, there are different pages that'll display, but what's typical for all of them is that they are generic and probably shall have absolutely nothing that is similar to the layout of your Internet site, which could be frustrating for any website visitor. That is the main reason why website hosting service providers have introduced a function named Custom Error Pages. For a variety of different errors, visitors will see your customized content, which could be informative or funny, based on your taste, and that will match the overall design and style of your site, so the pages will not appear as if they're not part of your website 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 Website Hosting

The personalized error pages function is offered with every website hosting package which we offer and you will be able to replace all of the generic pages with your own with no more than a couple of clicks in your Hepsia website hosting Control Panel. You will need to produce 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 every single site hosted in the account individually, so that every set of personalized pages will have the exact same design as the site it is part of. If required, you can always go 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 in 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 program code from our Help article about this.

Custom Error Pages in Semi-dedicated Hosting

Including your own pages for any of the four error types to any website hosted from a semi-dedicated server account with us will be very easy and shall not take more than a couple of clicks. Once you upload the files in your account, you could 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 menus. You can pick what page should appear for each error type. The options are a default Apache web server page or a page from our system, and customized pages. If you choose the aforementioned option, you will need to enter the link to every single page in your account, then save the change. The link or the sort of page which will be shown in case a user encounters an error can be modified at any time. If you are more experienced, you may use an .htaccess file to set customized error pages too, rather than using our integrated generator instrument, and in case you pick this option, the file needs to be placed in the root directory of a specific domain or subdomain.