When a page on your website doesn't load, an error message will be displayed to the visitor. Because there are different errors, there are different pages that'll appear, but what's standard for all of them is that they're generic and most likely will have nothing that resembles the layout of your website, which could be irritating for any website visitor. This is the primary reason why website hosting service providers have introduced a feature referred to as Custom Error Pages. For a variety of different errors, website visitors shall see your customized content, which can be informative or amusing, depending on your choice, and that will match the layout of your website, so the pages won't look like they aren't part of your site at all. You can use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Shared Hosting
If you purchase a Linux shared hosting from us, you'll be able to set custom made error pages for your Internet sites quickly and easily, since this feature is a part of all our plans. As soon as you have created the files and uploaded them to your 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 which will show up, you'll see drop-down menus for all four sorts of errors and for each one of them you could select an Apache default page, a generic page from our system or a custom made page. If you choose the 3rd option, you should just type the URL to the file that you have uploaded then save the change. A different way to set personalized error pages is to set up an .htaccess file in the domain or subdomain folder and to add several lines of program code in it. If you do not have preceding experience or if you are just not sure how to do that, you could just copy and paste the code from our Knowledge Base article on that topic.
Custom Error Pages in Semi-dedicated Hosting
Our Linux semi-dedicated hosting support personalized error pages, thus you'll be able to use this feature for each and every domain or subdomain hosted inside your account. All it will take to do this is to go to the Hosted Domains section of the Hepsia CP, to click the Edit button related to the particular domain/subdomain and then to type the link to the custom-made file. You could do this separately for each and every error type. You shall be able to switch back to a generic error page at any time if required and the change will take effect straightaway. An alternative way to achieve the same exact result is to set an .htaccess file in the domain or subdomain folder related to the Internet site which you would like to change and to input a few lines of program code inside it. If you need to try this method, you may copy and paste the required code from our Knowledge Base article on custom error pages, thus you won't need any programming skills or previous experience.