When a page on your Internet site does not load, an error message shall be shown to the site visitor. As there are different errors, there are different pages that will appear, but what is standard for all of them is that they are generic and in all probability will have practically nothing that resembles the design of your Internet site, which can be annoying for any site visitor. That is the primary reason why hosting companies have introduced a function named Custom Error Pages. For a wide variety of different errors, site visitors will see your customized content, which could be informative or humorous, in accordance with your taste, and that will match the overall style and design of your site, so the pages shall 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 Web Hosting

You'll be able to set up personalized error pages for all of your domains or subdomains. The feature is supported by all web hosting solutions which we provide, so when you log in to the Hepsia Control Panel and check out the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that"ll appear, you may pick the sort of error page which should show up - a default one from our system, a standard Apache server page or a custom one. For the latter option, you need to assign the URL to the page, so when you use custom pages, you have to upload the files in your website hosting account first. An alternative way is to use an .htaccess file placed in the domain or subdomain folder with a line for each and every error type. The correct syntax can be seen 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

When you host your web sites in a semi-dedicated server account from our company, you could set customized error pages for each of them easily using our in-house created Hepsia hosting CP. With a few clicks inside the Hosted Domains section, you can change the default setting from a system page to a custom made one for each of the four error types. All you need to do is provide a link to every file that you have uploaded before that and then save the change. If necessary, you will be able to revert this modification at any time and in exactly the same way. If you wish, you could use an .htaccess file as well. It should be created/uploaded within the domain or subdomain folder related to the website whose error pages you want to change and the content for this kind of file can be found in our Help article on this matter.