Whenever a page on your Internet site does not load, an error message shall be displayed to the visitor. Because there are different errors, there are different pages that will show up, but what's standard for all of them is that they're generic and almost certainly shall have absolutely nothing that resembles the design of your website, which can be frustrating for any visitor. That is the reason why web hosting providers have introduced a function known as Custom Error Pages. For a wide variety of different errors, site visitors will see your custom content, which could be informative or amusing, in accordance with your choice, and which will match the design and style of your site, so the pages shall not look like they are not part of your Internet site at all. You could use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Shared Hosting
When you get a Linux shared hosting from our company, you'll be able to set custom error pages for your sites quickly and easily, since this feature is part of all of our solutions. The moment you have created the files and uploaded them to your hosting account, you can check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the specific domain or subdomain. Inside the pop-up which will show up, you will see drop-down options menus for all four kinds of errors and for each one of them you can select an Apache default page, a generic page from our system or a personalized page. In case you pick the 3rd option, you should only input the URL to the file which you have uploaded then save the change. One other way to set custom error pages is to set up an .htaccess file inside the domain or subdomain folder and to include several lines of program code in it. If you do not have prior experience or if you're simply not sure how to do this, you could simply copy/paste the code from our Knowledge Base article on that topic.
Custom Error Pages in Semi-dedicated Servers
All our semi-dedicated hosting service support custom made error pages, thus you'll be able to employ this function for every single domain or subdomain hosted in your account. All it will take to do that is to go to the Hosted Domains section of the Hepsia Control Panel, to click the Edit button linked to the given domain/subdomain and to enter the link to the custom-made file. You could do this individually for each error type. You'll be able to switch back to a default error page anytime if required and the change will take effect at once. An alternative way to get the same result is to set an .htaccess file inside the domain or subdomain folder associated with the site which you'd like to edit and to input a few lines of program code within 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 shall not need any programming skills or prior experience.