When a page on your website does not load, an error message will be shown to the site visitor. As there are different errors, there are different pages that will display, but what's standard for all of them is that they're generic and probably shall have absolutely nothing in common with the design of your website, which can be irritating for any visitor. This is the primary reason why website hosting service providers have introduced a function named Custom Error Pages. For a range of different errors, website visitors shall see your unique content, which can be informative or humorous, based on your preference, and that will match the overall style and design of your Internet site, so the pages shall not seem like they're not part of your Internet site at all. You may use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Cloud Hosting

If you get a Linux cloud hosting from our company, you will be able to set customized error pages for your websites easily, since this feature is a part of all of our plans. Once you've created the files and uploaded them to your web hosting account, you can go to 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'll see drop-down menus for all 4 kinds of errors and for each one of them you could select an Apache default page, a generic page from our system or a custom page. If you choose the 3rd option, you should only input the URL to the file that you've uploaded then save the change. A different way to set custom error pages is to create an .htaccess file in the domain or subdomain folder and to add several lines of code in it. In case you don't have previous experience or if you are simply unsure how to do this, you may simply copy/paste the code from our Knowledge Base article on that subject.