If 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 which will show up, but what is common for all of them is that they're generic and probably shall have practically nothing that is similar to the design of your Internet site, which can be frustrating for any website visitor. This is the reason why hosting providers have introduced a feature called Custom Error Pages. For a number of different errors, visitors will see your custom made content, which may be informative or amusing, in accordance with your taste, and that will match the overall design of your website, so the pages will not seem like they're not part of your site at all. You can 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 will be able to set up custom made error pages for all of your domains or subdomains. The function is supported by all cloud hosting package that we offer, so after you log in to the Hepsia CP and visit the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that"ll be displayed, you can select the type of error page which should show up - a default one from our system, a typical Apache server page or a personalized one. For the aforementioned alternative, you'll have to specify the URL to the page, so when you use customized pages, you have to upload the files inside your web hosting account first. One other way is to use an .htaccess file located inside the domain or subdomain folder with a line for each error type. The actual syntax can be located in our Knowledge Base, to help you use this function even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Servers
All of our semi-dedicated service support tailor-made error pages, thus you'll be able to use this feature for any domain or subdomain hosted in your account. All it takes to do that is to go to the Hosted Domains section of the Hepsia CP, to click the Edit button associated with the specific domain/subdomain and then to enter the link to the custom-made file. You'll be able to do this separately for each and every error type. You'll be able to switch back to a default error page anytime if needed and the change shall take effect straightaway. A different way to achieve the same result is to place an .htaccess file inside the domain or subdomain folder of the site which you'd like to edit and to input a couple of lines of program code in 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, thus you won't need any programming skills or prior experience.