If a page on your website doesn't load, an error message will be shown to the website visitor. As there are different errors, there are different pages that'll display, but what is typical for all of them is that they are generic and most likely shall have practically nothing in common with the layout of your website, which may be annoying for any website visitor. That is the reason why web hosting providers have introduced a function named Custom Error Pages. For a wide variety of different errors, website visitors shall see your customized content, which can be informative or witty, in accordance with your choice, and which shall match the overall design and style of your website, so the pages will not look like they aren't 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 purchase a cloud hosting from us, you'll be able to set custom made error pages for your sites fast and easy, as this feature is part of all of our plans. As soon as you have created the files and uploaded them to your website hosting account, you can go to the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. In the pop-up that will appear, you'll see drop-down options menus for all 4 types of errors and for each one of them you could pick an Apache default page, a generic page from our system or a personalized page. In case you pick the third option, you should only enter the URL to the file you have uploaded and save the change. A different way to set custom made error pages is to create an .htaccess file in the domain or subdomain folder and to include a few lines of program code in it. If you do not have preceding experience or if you are just uncertain how to do that, you may simply copy and paste the code from our Knowledge Base article on that subject.
Custom Error Pages in Semi-dedicated Servers
Our semi-dedicated servers support custom error pages, so you will be able to use this function for each domain or subdomain hosted inside your account. All it will take to do this is to check out the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button linked to the particular domain/subdomain and then to enter the link to the custom-made file. You'll be able to do this independently for each and every error type. You will be able to switch back to a generic error page at any time if needed and the change shall take effect at once. Another way to achieve the exact same result is to set an .htaccess file inside the domain or subdomain folder of the website that you would like to modify and to input a couple of lines of code inside it. If you would like to try this method, you can copy and paste the necessary code from our Knowledge Base article on custom error pages, so you'll not need any coding skills or previous experience.