If a page on your site doesn't load, an error message shall be displayed to the visitor. As there are different errors, there are different pages that will show up, but what's typical for all of them is that they're generic and probably will have nothing that resembles the layout of your site, which can be irritating for any site 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 shall see your unique content, which may be informative or funny, depending on your personal preference, and that will match the design of your website, so the pages will not look like they are 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 Web Hosting

If you order a Linux web hosting service from our company, you shall be able to set custom error pages for your Internet sites easily and quickly, since this function is a part of all our plans. As soon as you've created the files and uploaded them to your web hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the specific domain or subdomain. In the pop-up that will appear, you shall see drop-down 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 personalized page. Should you choose the third option, you should only type the URL to the file that you've uploaded and save the change. One other way to set custom made error pages is to set up an .htaccess file inside the domain or subdomain folder and to include a few lines of code in it. If you don't have previous experience or if you are simply uncertain how to do that, you could just copy/paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Hosting

Incorporating your personal pages for each of the four error types to any Internet site hosted through a semi-dedicated server account with us will be really uncomplicated and will not take more than several mouse clicks. Once you upload the files inside your account, you could navigate to the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there through an intuitive interface with drop-down menus. You could select what page should show up for each and every error type. The alternatives are a standard Apache web server page or a page from our system, and tailor-made pages. Should you choose the last option, you must type the link to each and every page inside your account, then save the change. The link or the sort of page that shows up in case a user encounters an error can be modified anytime. In case you’re more experienced, you can use an .htaccess file to set custom error pages too, as an alternative to using our integrated generator tool, and if you choose this option, the file needs to be located inside the root directory of a specific domain or subdomain.