If you have browsed lots of websites, you've probably stumbled upon some error message now and again. An error can occur when the web hosting server can't process a request (Error 400), if you must log in in order to see some content and you have not done so (Error 401), if you are not permitted to access some webpage (Error 403) or when a link leads to a file which is not on the website hosting server (Error 404). Getting this kind of messages can often be irritating because the pages have absolutely nothing in common with the actual website. That’s why some website hosting service providers allow you to apply your own error pages that will match the design of your own website and that may have any content which you want - info why the error has occurred, a suggestion how to handle it or even some funny comment. This sort of function can help you keep the visitor on the website regardless of the error and the reason for it.

Custom Error Pages in Web Hosting

You'll be able to set up custom error pages for each of your domains or subdomains. The feature is supported by all web hosting solutions which we offer, so after you log in to your Hepsia Control Panel and check out the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that"ll be displayed, you can choose the type of error page that should appear - a default one from our system, a typical Apache server page or a customized one. For the aforementioned option, you must assign the URL to the page, so when you use custom pages, you must upload the files in your hosting account first. An alternative way is to use an .htaccess file placed in the domain or subdomain folder with a line for each error type. The exact syntax can be located in our Knowledge Base, to help you use this feature even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

If you host your sites in a semi-dedicated server account with us, you could set custom error pages for each of them effortlessly via our custom Hepsia hosting Control Panel. With only a couple of clicks in the Hosted Domains section, you'll be able to change the default setting from a system page to a custom one for any of the 4 error types. All you must do is supply a link to every file you have uploaded before that and then save the change. If required, you shall be able to revert this customization at any time and in exactly the same way. If you would like, you can use an .htaccess file as well. It should be created/uploaded within the domain or subdomain folder belonging to the website whose error pages you would want to change and the content for such a file can be found in our Help article about this matter.