Whenever a page on your site doesn't load, an error message shall be shown to the visitor. Since there are different errors, there are different pages that'll show up, but what's typical for all of them is that they are generic and almost certainly shall have nothing that is similar to the layout of your site, which can be frustrating for any website visitor. This is the primary reason why hosting companies have introduced a feature named Custom Error Pages. For a variety of different errors, website visitors will see your unique content, which could be informative or witty, in accordance with your preference, and that will match the style and design of your Internet site, so the pages won't look like they are not part of your 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 Hosting

The custom made error pages feature is provided with every hosting package which we offer and you will be able to swap the generic pages with your own with no more than just a few clicks inside your Hepsia website hosting CP. You shall need to create the actual files and to upload them to your account, and then to set them for a given domain or subdomain using the Hosted Domains section of the Hepsia CP. You can do this for every single Internet site hosted in the account individually, so that each group of custom made pages will have the same layout as the site it is part of. When necessary, you may always return back to a default page from our system or to the default Apache server page. One other 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 never done this before, you may simply copy the necessary program code from our Help article on this subject.

Custom Error Pages in Semi-dedicated Hosting

Incorporating your own pages for each of the four error types to any website hosted inside a semi-dedicated server account with us shall be very simple and won't take more than a couple of mouse clicks. When 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 using an intuitive interface with drop-down menus. You could pick what page should show up for each and every error type. Your options are a default Apache server page or a page from our system, and personalized pages. Should you pick the aforementioned option, you have to type the link to every single page in your account, then save the change. The link or the sort of page which will be shown if a user encounters an error can be changed whenever you want. In case you’re more experienced, you may use an .htaccess file in order to set in-house made error pages too, instead of using our integrated generator software tool, and should you pick this option, the file must be positioned in the root directory of a specific domain or subdomain.