If a page on your site doesn't load, an error message will be displayed to the website visitor. As there are different errors, there are different pages which will display, but what's standard for all of them is that they are generic and most likely will have practically nothing that is similar to the layout of your website, which may be irritating for any visitor. That is the reason why web hosting companies have introduced a function named Custom Error Pages. For a number of different errors, site visitors shall see your custom content, which can be informative or amusing, based on your taste, and that will match the design and style of your site, so the pages won't appear as if they are not part of your Internet site at all. You could use this option for many 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 customized error pages for all of your domains or subdomains. The feature is supported by all shared hosting solutions which we provide, so when 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 will be displayed, you can select the sort of error page which should appear - a default one from our system, a typical Apache web server page or a personalized one. For the latter option, you must assign the URL to the page, so when you use personalized pages, you have to upload the files inside your web hosting account first. An alternative way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for each and every error type. The actual syntax can be found in our Knowledge Base, so you can use this feature even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

All our semi-dedicated servers support tailor-made error pages, so you'll be able to employ this feature for each domain or subdomain hosted inside your account. All it will take to do this is to go to 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 are able to do this separately for every error type. You shall be able to switch back to a standard error page at any time if necessary and the change shall take effect immediately. An alternative way to achieve the exact same result is to set an .htaccess file in the domain or subdomain folder associated with the Internet site that you want to change and to enter a few lines of code inside it. If you'd like to try this method, you may copy and paste the required code from our Knowledge Base article on custom error pages, hence you will not need any coding skills or previous experience.