Each time a page on your website does not load, an error message will be displayed to the site visitor. Since there are different errors, there are different pages that will show up, but what's typical for all of them is that they are generic and most likely shall have nothing in common with the design of your website, which may be annoying for any website visitor. That is the reason why web hosting providers have introduced a feature named Custom Error Pages. For a variety of different errors, visitors shall see your customized content, which can be informative or amusing, in accordance with your personal preference, and which shall match the overall design of your website, so the pages will not appear as if they are not part of your Internet 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 Web Hosting
You shall be able to set up customized error pages for all of your domains or subdomains. The feature is supported by all web hosting package which we offer, so after you log in to your Hepsia Control Panel and navigate to the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that will appear, you can choose the type of error page which should appear - a default one from our system, a standard Apache server page or a personalized one. For the latter alternative, you'll have to assign the URL to the page, so when you use custom pages, you must upload the files inside your hosting account first. One other way is to use an .htaccess file positioned in the domain or subdomain folder with a line for each and every error type. The precise syntax can be found 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
All our semi-dedicated hosting plans support personalized error pages, thus you'll be able to employ this function for each domain or subdomain hosted inside your account. All it will take to do that is to visit the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button linked to the particular domain/subdomain and then to enter the link to the custom file. You could do this separately for every error type. You will be able to switch back to a generic error page anytime if necessary and the change shall take effect instantly. An alternative way to achieve the very same result is to set an .htaccess file in the domain or subdomain folder of the website which you would like to modify and to type in a couple of lines of program code within it. If you want to try this method, you could copy and paste the necessary code from our Knowledge Base article on custom error pages, which means that you will not need any computer programming skills or prior experience.