Each time a page on your site does not load, an error message shall be displayed to the site visitor. Because there are different errors, there are different pages which will display, but what's typical for all of them is that they're generic and probably shall have nothing that resembles the layout of your website, which could be frustrating for any website visitor. This is the primary reason why web hosting service providers have introduced a feature referred to as Custom Error Pages. For a number of different errors, site visitors shall see your unique content, which may be informative or humorous, depending on your personal preference, and that will match the style and design of your site, so the pages shall not appear as if they aren't part of your site at all. You could use this option for a variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Shared Hosting
You will be able to set up personalized error pages for each of your domains or subdomains. The function is supported by all shared hosting package that we offer, so when you log in to the Hepsia Control Panel and navigate 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 could choose the sort of error page that should appear - a default one from our system, a standard Apache server page or a custom one. For the last mentioned alternative, you must assign the URL to the page, so when you use custom made pages, you should upload the files in your Internet hosting account first. Another way is to use an .htaccess file positioned in the domain or subdomain folder with a line for each error type. The exact syntax can be located in our Knowledge Base, so you can use this function even if you don't have any previous experience.
Custom Error Pages in Semi-dedicated Servers
Our semi-dedicated servers support personalized error pages, so you'll be able to use this feature for each domain or subdomain hosted inside your account. All it takes to do that is to visit the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button associated with the given domain/subdomain and to input the link to the custom-made file. You could do this independently for each error type. You shall be able to switch back to a standard error page anytime if required and the change shall take effect straightaway. Another way to achieve the very same result is to put an .htaccess file in the domain or subdomain folder related to the Internet site that you'd like to modify and to type in a few lines of program code within it. If you need to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, so you'll not need any computer programming skills or previous experience.