If a page on your Internet site doesn't load, an error message shall be shown to the website visitor. Because there are different errors, there are different pages that will display, but what's standard for all of them is that they're generic and most likely will have absolutely nothing that resembles the design of your site, which could be irritating for any site visitor. That is the main reason why web hosting companies have introduced a function referred to as Custom Error Pages. For a number of different errors, site visitors shall see your custom content, which could be informative or humorous, based on your preference, and which shall match the overall layout of your site, so the pages shall not appear as if they're not part of your Internet site at all. You could 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

You shall be able to set up customized error pages for each of your domains or subdomains. The function is supported by all cloud hosting plans which we offer, so once you log in to your Hepsia Control Panel and go to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will be displayed, you may pick the type of error page that should appear - a default one from our system, a typical Apache server page or a custom one. For the aforementioned option, you need to assign the URL to the page, so when you use custom pages, you have to upload the files inside your website hosting account first. One other way is to use an .htaccess file located inside the domain or subdomain folder with a line for every error type. The actual syntax can be found in our Knowledge Base, to help you use this feature even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

All of our Linux semi-dedicated hosting packages support custom error pages, thus you'll be able to employ this function for every single domain or subdomain hosted in your account. All it takes to do that is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button related to the given 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 standard error page anytime if necessary and the change will take effect right away. Another way to get the same result is to set an .htaccess file inside the domain or subdomain folder related to the website which you'd like to edit and to type in a couple of lines of code in it. If you would like to try this method, you can copy and paste the needed code from our Knowledge Base article on custom error pages, hence you shall not need any coding skills or previous experience.