If a page on your website does not load, an error message shall be displayed to the visitor. Because there are different errors, there are different pages that'll appear, but what's standard for all of them is that they're generic and most likely will have practically nothing in common with the layout of your Internet site, which may be annoying for any visitor. That is the primary reason why website hosting companies have introduced a function named Custom Error Pages. For a number of different errors, site visitors will see your customized content, which can be informative or funny, based on your personal preference, and which will match the style and design of your site, so the pages won't appear as if they are not part of your site at all. You may use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Cloud Hosting
You can set up custom made error pages for any of your domains or subdomains. The feature is supported by all cloud hosting plans that we provide, so once you log in to your Hepsia Control Panel and visit the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that"ll appear, you could choose the kind of error page which should show up - a default one from our system, a standard Apache server page or a customized one. For the last mentioned alternative, you'll have to specify the URL to the page, so if you use custom made pages, you have to upload the files inside your Internet hosting account first. Another way is to use an .htaccess file positioned in the domain or subdomain folder with a line for each error type. The precise syntax can be found in our Knowledge Base, to help you use this function even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Servers
Adding your pages for any of the 4 error types to any Internet site hosted inside a semi-dedicated server account with us shall be very easy and won't take more than a couple of mouse clicks. After you upload the files to your account, you could check out the Hosted Domains section of your Hepsia CP and edit any of the domains and subdomains listed there through an intuitive interface with drop-down navigation. You can pick what page should show up for every single error type. The alternatives are a default Apache server page or a page from our system, and custom made pages. Should you select the abovementioned option, you will need to type the link to each and every page inside your account, then save the change. The link or the type of page which will be shown if a user encounters an error can be changed anytime. In case you’re more experienced, you may use an .htaccess file so as to set custom made error pages too, as opposed to using our integrated generator instrument, and in case you choose this option, the file should be placed in the root directory of a specific domain or subdomain.