Whenever a page on your site doesn't load, an error message shall be shown to the visitor. Since there are different errors, there are different pages that'll appear, but what's typical for all of them is that they're generic and in all probability shall have nothing that is similar to the design of your Internet site, which can be irritating for any site visitor. That is the main reason why hosting companies have introduced a feature known as Custom Error Pages. For a wide variety of different errors, website visitors shall see your unique content, which could be informative or humorous, based on your taste, and that will match the design and style of your site, so the pages won't appear as if 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 Shared Hosting
When you get a shared hosting plan
from our company, you'll be able to set personalized error pages for your Internet sites easily, since this feature is part of all of our solutions. The moment you've created the files and uploaded them to your website hosting account, you can go to the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the specific domain or subdomain. In the pop-up that will be displayed, you will see drop-down menus for all 4 kinds of errors and for each one of them you may choose an Apache default page, a generic page from our system or a custom made page. In case you pick the 3rd option, you should only enter the URL to the file that you've uploaded then save the change. One other way to set customized error pages is to create an .htaccess file inside the domain or subdomain folder and to add a few lines of code in it. If you do not have preceding experience or if you are just not sure how to do this, you may just copy and paste the code from our Knowledge Base article on that topic.
Custom Error Pages in Semi-dedicated Servers
All of our semi-dedicated plans
support custom made error pages, so you'll be able to use this feature for every single domain or subdomain hosted in your account. All it will take to do this is to check out the Hosted Domains section of the Hepsia CP, to click the Edit button related to the specific domain/subdomain and then to enter the link to the custom-made file. You'll be able to do this independently for every error type. You will be able to switch back to a default error page at any time if needed and the change will take effect immediately. A different way to get the very same result is to place an .htaccess file inside the domain or subdomain folder related to the site which you want to modify and to enter several lines of code within it. If you need to try this method, you could copy and paste the required code from our Knowledge Base article on custom error pages, so you shall not need any coding skills or prior experience.