Whenever a page on your Internet site doesn't load, an error message will be displayed to the site visitor. Because there are different errors, there are different pages that'll appear, but what's typical for all of them is that they're generic and probably shall have absolutely nothing that resembles the design of your site, which could be annoying for any website visitor. That is the main reason why web hosting providers have introduced a feature referred to as Custom Error Pages. For a wide variety of different errors, website visitors will see your unique content, which may be informative or witty, depending on your taste, and that will match the design of your website, so the pages won't seem like 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 Shared Website Hosting
You can set up personalized error pages for all of your domains or subdomains. The function is supported by all shared website hosting
package that we provide, so after you log in to your Hepsia CP and go to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that"ll appear, you may choose the sort of error page that should appear - a default one from our system, a typical Apache server page or a customized one. For the latter option, you'll have to specify the URL to the page, so when you use personalized pages, you should upload the files in your hosting account first. One other way is to use an .htaccess file positioned in the domain or subdomain folder with a line for each and every error type. The exact syntax can be seen in our Knowledge Base, to help you use this function even if you don't have any previous experience.
Custom Error Pages in Semi-dedicated Hosting
Incorporating your personal pages for each of the four error types to any website hosted from a semi-dedicated server
account with us will be very basic and won't take more than several mouse clicks. Once you upload the files in your account, you can go to the Hosted Domains section of your Hepsia Control Panel and edit any of the domains and subdomains listed there using an intuitive interface with drop-down menus. You may choose what page should display for every error type. The choices are a default Apache server page or a page from our system, and custom pages. In case you choose the last option, you have to enter the link to each and every page in your account, then save the change. The link or the type of page which will be displayed in case a user encounters an error can be changed at any time. If you are more experienced, you could use an .htaccess file so as to set custom made error pages as well, as an alternative to using our integrated generator instrument, and should you choose this option, the file must be positioned in the root directory of a given domain or subdomain.