If a page on your site doesn't load, an error message shall be displayed to the website visitor. Since there are different errors, there are different pages that'll display, but what is typical for all of them is that they're generic and in all probability will have absolutely nothing that is similar to the design of your Internet site, which could be frustrating for any site visitor. This is the primary reason why hosting providers have introduced a feature known as Custom Error Pages. For a number of different errors, visitors will see your unique content, which may be informative or funny, based on your taste, and which shall match the overall layout of your site, so the pages will not appear as if they are not part of your site at all. You can use this option for a variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Website Hosting
You'll be able to set up personalized error pages for all of your domains or subdomains. The feature is supported by all website hosting solutions that we offer, so as soon as you log in to your Hepsia Control Panel and check out the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that"ll appear, you can select the type of error page which should appear - a default one from our system, a typical Apache server page or a custom one. For the last mentioned alternative, you will need to assign the URL to the page, so when you use custom made pages, you have to upload the files inside your web hosting account first. An alternative way is to use an .htaccess file placed inside the domain or subdomain folder with a line for each and every error type. The correct syntax can be located in our Knowledge Base, so that you can use this feature even if you don't have any previous experience.
Custom Error Pages in Semi-dedicated Servers
All of our semi-dedicated hosting plans support custom made error pages, so you shall be able to employ this function for each and every domain or subdomain hosted inside your account. All it takes to do that is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click the Edit button related to the particular domain/subdomain and to type in the link to the custom file. You'll be able to do this independently for each error type. You'll be able to switch back to a standard error page at any time if necessary and the change shall take effect straightaway. A different way to achieve the same result is to put an .htaccess file in the domain or subdomain folder of the web site which you want to edit and to input a couple of lines of program code in it. If you would like to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, hence you shall not need any programming skills or previous experience.