If a page on your website doesn't load, an error message shall be displayed to the site visitor. Since there are different errors, there are different pages which will appear, but what's typical for all of them is that they're generic and almost certainly will have absolutely nothing in common with the design of your website, which may be irritating for any website visitor. This is the primary reason why hosting companies have introduced a feature called Custom Error Pages. For a wide variety of different errors, visitors will see your custom made content, which may be informative or witty, in accordance with your personal preference, and which shall match the layout of your Internet site, so the pages won't look like they're not part of your Internet site at all. You can use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Web Hosting
The customized error pages function is provided with each and every web hosting package that we offer and you'll be able to swap the generic pages with your own with no more than several mouse clicks inside your Hepsia website hosting Control Panel. 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 CP. You can do this for every single website hosted inside the account independently, so that each group of personalized pages will have identical design as the website it's part of. If required, you could always revert back to a default page from our system or to the default Apache server page. Another way to set custom made error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you never done this before, you can simply copy the required program code from our Help article about this.
Custom Error Pages in Semi-dedicated Servers
Incorporating your personal pages for each of the 4 error types to any site hosted from a semi-dedicated server account with us shall be very easy and will not take more than a few mouse clicks. Once you upload the files inside your account, you can navigate to the Hosted Domains section of your Hepsia Control Panel and edit any of the domains and subdomains listed there via an intuitive interface with drop-down menus. You could pick what page should appear for every error type. Your choices are a standard Apache server page or a page from our system, and tailor-made pages. Should you select the aforementioned option, you will need to type in the link to every page inside your account, then save the change. The link or the kind of page that will be shown if a user encounters an error can be changed anytime. If you are more experienced, you can use an .htaccess file so as to set in-house developed error pages too, rather than using our integrated generator instrument, and if you select this option, the file must be positioned in the root directory of a particular domain or subdomain.