If you have browsed a lot of Internet sites, you have probably encountered some error message now and again. An error may take place when the hosting server can't process a request (Error 400), if you have to log in to see some content and you have not done so (Error 401), if you are not able to access a page (Error 403) or when a link leads to a file that is not on the web server (Error 404). Getting such messages could often be aggravating as the pages have nothing in common with the actual site. That’s why some hosting service providers permit you to use your own error pages which will match the layout of your own Internet site and that may have any content that you would like - info why the error has appeared, a suggestion how to proceed or even some funny remark. This kind of function can help you keep the visitor on the website whatever the error or the reason for it.

Custom Error Pages in Cloud Hosting

The custom error pages function is offered with every single cloud hosting plan we offer and you shall be able to substitute the generic pages with your own with no more than just a few clicks in your Hepsia hosting CP. You will need to produce the actual files and to upload them to your account, then to set them for a particular domain or subdomain from the Hosted Domains section of the Hepsia Control Panel. You could do this for every website hosted in the account separately, so that each set of personalized pages will have identical layout as the Internet site it is part of. If necessary, you could always revert back to a default page from our system or to a default Apache server page. One other way to set customized error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you never done this before, you could simply copy the needed program code from our Help article about this.

Custom Error Pages in Semi-dedicated Servers

All our semi-dedicated servers support tailor-made error pages, thus you'll be able to employ this feature for every single domain or subdomain hosted inside your account. All it takes to do that is to visit the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button related to the particular domain/subdomain and to enter the link to the custom file. You are able to do this individually for each error type. You shall be able to switch back to a generic error page whenever you want if necessary and the change will take effect right away. Another way to get the exact same result is to set an .htaccess file in the domain or subdomain folder related to the Internet site which you'd like to edit and to input a couple of lines of code in it. If you want to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, so you'll not need any coding skills or prior experience.