Whenever a page on your website doesn't load, an error message shall be shown to the site visitor. Because there are different errors, there are different pages that'll display, but what's typical for all of them is that they are generic and in all probability shall have practically nothing that resembles the layout of your Internet site, which could be aggravating for any website visitor. This is the primary reason why hosting companies have introduced a function referred to as Custom Error Pages. For a variety of different errors, site visitors will see your custom content, which could be informative or amusing, in accordance with your choice, and that will match the design of your website, so the pages won't seem like they are not part of your website 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 Web Hosting
If you purchase a Linux web hosting from our company, you will be able to set customized error pages for your sites quickly and easily, since this feature is part of all our solutions. The moment you've created the files and uploaded them to your hosting account, you can 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 which will show up, you'll see drop-down menus for all 4 kinds of errors and for each of them you may pick an Apache default page, a generic page from our system or a personalized page. If you choose the 3rd option, you should just enter the URL to the file that you have uploaded and save the change. A different way to set personalized error pages is to set up an .htaccess file inside the domain or subdomain folder and to include a couple of lines of program code in it. In case you don't have previous experience or if you're just unsure how to do that, you could simply copy/paste the code from our Knowledge Base article on that matter.
Custom Error Pages in Semi-dedicated Servers
Incorporating your own pages for any of the 4 error types to any website hosted from a semi-dedicated server account with us will be very simple and will not take more than several mouse clicks. After you upload the files inside your account, you can check out 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 navigation. You can pick what page should show up for each and every error type. The alternatives are a standard Apache server page or a page from our system, and custom pages. Should you pick the last option, you must enter the link to every page inside your account, then save the change. The link or the sort of page which will be displayed when a user encounters an error can be modified anytime. In case you are more experienced, you can use an .htaccess file in order to set personalized error pages too, rather than using our integrated generator software tool, and should you select this option, the file needs to be positioned in the root directory of a particular domain or subdomain.