Whenever a page on your website does not load, an error message will be displayed to the website visitor. As there are different errors, there are different pages that will show up, but what is common for all of them is that they are generic and almost certainly shall have nothing that resembles the layout of your Internet site, which can be annoying for any site visitor. This is the main reason why hosting companies have introduced a function known as Custom Error Pages. For a range of different errors, website visitors shall see your customized content, which may be informative or witty, depending on your personal preference, and which will match the design and style of your website, so the pages shall not seem like they're not part of your website at all. You may use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Cloud Web Hosting

If you obtain a Linux cloud web hosting service from our company, you'll be able to set custom made error pages for your Internet sites fast and easy, as this feature is a part of all our plans. As soon as you have created the files and uploaded them to your web hosting account, you can check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the selected domain or subdomain. In the pop-up that will appear, you will see drop-down menus for all 4 sorts of errors and for each one of them you may pick an Apache default page, a generic page from our system or a tailor-made page. In case you choose the 3rd option, you should only enter the URL to the file which you have uploaded and save the change. Another way to set custom made error pages is to create an .htaccess file inside 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're just not sure how to do this, you may just copy/paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Servers

When you host your Internet sites in a semi-dedicated server account with our company, you may set customized error pages for each of them effortlessly using our in-house developed Hepsia hosting Control Panel. With a couple of mouse clicks inside the Hosted Domains section, you could modify the default setting from a system page to a personalized one for any of the four error types. All you must do is provide a link to every single file that you have uploaded before that and then save the change. If necessary, you will be able to revert this modification at any time and in exactly the same way. If you'd like, you may use an .htaccess file too. It has to be created/uploaded within the domain or subdomain folder belonging to the site whose error pages you would like to modify and the content for this type of file can be found in our Help article on this matter.