Whenever a page on your site does not load, an error message shall be displayed to the visitor. As there are different errors, there are different pages which will show up, but what's common for all of them is that they're generic and almost certainly shall have absolutely nothing in common with the layout of your Internet site, which can be aggravating for any visitor. This is the reason why hosting providers have introduced a feature named Custom Error Pages. For a wide variety of different errors, site visitors will see your custom made content, which can be informative or amusing, depending on your personal preference, and which will match the overall style and design of your site, so the pages will not appear as if they are not part of your website at all. You could use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Hosting
The personalized error pages feature is offered with every single hosting package we offer and you will be able to swap all of the generic pages with your own with no more than a few clicks in your Hepsia hosting CP. You will need to create the actual files and to upload them to your account, and then to set them for a specific domain or subdomain via the Hosted Domains section of the Hepsia CP. You could do this for each web site hosted inside the account individually, so that every group of personalized pages shall have the same design as the Internet site it is part of. If necessary, you can always go back to a default page from our system or to the default Apache server page. A different way to set custom error pages is to create an .htaccess file in the domain/subdomain root folder and to include a few lines in it. If you have never done this before, you may simply copy the needed code from our Help article about the subject.
Custom Error Pages in Semi-dedicated Servers
Incorporating your pages for any of the 4 error types to any site hosted from a semi-dedicated server account with us shall be very simple and shall not take more than a few clicks. As soon as you upload the files to your account, you could navigate to the Hosted Domains section of your Hepsia CP and edit any of the domains and subdomains listed there using an intuitive interface with drop-down navigation. You can pick what page should display for each error type. The alternatives are a default Apache web server page or a page from our system, and customized pages. If you select the abovementioned option, you will need to type the link to each and every page in your account, then save the change. The link or the kind of page that will appear if a user encounters an error can be changed whenever you want. If you're more experienced, you can use an .htaccess file to be able to set in-house developed error pages as well, as opposed to using our integrated generator tool, and if you choose this option, the file needs to be positioned in the root directory of a particular domain or subdomain.