Each time a page on your Internet site doesn't load, an error message shall be shown to the visitor. As there are different errors, there are different pages that will appear, but what's standard for all of them is that they are generic and probably will have absolutely nothing that is similar to the layout of your website, which may be frustrating for any site visitor. This is the main reason why hosting companies have introduced a function named Custom Error Pages. For a variety of different errors, site visitors will see your custom made content, which could be informative or humorous, depending on your personal preference, and which will match the overall design and style of your site, so the pages will not appear as if they aren't part of your website at all. You may use this option for a variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Shared Hosting
If you buy a shared hosting
from our company, you will be able to set custom error pages for your websites fast and easy, because this feature is part of all our plans. The moment you have created the files and uploaded them to your hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the particular domain or subdomain. In the pop-up that will show up, you will see drop-down options menus for all four types of errors and for each one of them you may choose an Apache default page, a generic page from our system or a customized page. If you choose the 3rd option, you should only enter the URL to the file you have uploaded and save the change. Another way to set custom error pages is to set up an .htaccess file inside the domain or subdomain folder and to add several lines of program code in it. If you do not have previous experience or if you are just not sure how to do this, you may simply copy and paste the code from our Knowledge Base article on that topic.
Custom Error Pages in Semi-dedicated Hosting
Incorporating your own pages for any of the 4 error types to any web site hosted from a semi-dedicated server
account with us will be really uncomplicated and shall not take more than a few mouse clicks. After you upload the files to your account, you can go to the Hosted Domains section of your Hepsia CP and edit each of the domains and subdomains listed there through an intuitive interface with drop-down menus. You could pick what page should display for each and every error type. The options are a standard Apache web server page or a page from our system, and custom made pages. Should you choose the last option, you need to type the link to each and every page in your account, then save the change. The link or the kind of page which will be displayed 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, instead of using our integrated generator software instrument, and in case you pick this option, the file should be placed inside the root directory of a particular domain or subdomain.