Whenever a page on your site doesn't load, an error message will be shown to the visitor. Because there are different errors, there are different pages that'll display, but what's standard for all of them is that they're generic and in all probability will have nothing in common with the layout of your site, which could be irritating for any site visitor. This is the reason why website hosting providers have introduced a feature referred to as Custom Error Pages. For a variety of different errors, visitors shall see your unique content, which may be informative or funny, depending on your preference, and that will match the style and design of your website, so the pages will not seem like they're not part of your Internet site 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 Cloud Hosting

If you acquire a Linux cloud package from our company, you will be able to set customized error pages for your Internet sites fast and easy, because this function is part of all our solutions. Once you have 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 particular domain or subdomain. Inside the pop-up which will show up, you'll see drop-down options menus for all four sorts of errors and for each of them you could select an Apache default page, a generic page from our system or a tailor-made page. In case you pick the 3rd option, you should only enter the URL to the file you have uploaded then save the change. A different way to set custom made error pages is to set up an .htaccess file in the domain or subdomain folder and to add a couple of lines of program code in it. If you don't have prior experience or if you're simply uncertain how to do that, you could just copy/paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Hosting

All our Linux semi-dedicated packages support personalized error pages, so you shall be able to use this function for every single domain or subdomain hosted inside your account. All it takes to do that is to go to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button linked to the given domain/subdomain and to type in the link to the custom-made file. You could do this separately for each error type. You shall be able to switch back to a generic error page at any time if required and the change shall take effect instantly. Another way to achieve the same exact result is to set an .htaccess file in the domain or subdomain folder of the site which you want to edit and to enter several lines of program code inside it. If you would like to try this method, you may copy and paste the required code from our Knowledge Base article on custom error pages, therefore you won't need any programming skills or prior experience.