If you have checked out a lot of websites, you have probably come across some error message every now and then. An error can take place when the hosting server cannot process a request (Error 400), if you must log in so as to see some content and you haven't done so (Error 401), if you are not allowed to access a page (Error 403) or if a link leads to a file which isn't on the hosting server (Error 404). Encountering this type of messages may sometimes be irritating as the pages have absolutely nothing in common with the actual Internet site. That’s why some hosting companies permit you to apply your own error pages that will match the layout of your own Internet site and which may have any content which you want - info why the error has taken place, a suggestion what you can do or even some humorous comment. This kind of function shall help you keep the visitor on the website no matter the error or the reason for it.

Custom Error Pages in Hosting

The customized error pages function is available with each and every hosting plan we offer and you'll be able to replace all the generic pages with your own with no more than a few clicks inside your Hepsia website hosting Control Panel. You'll have to develop the actual files and to upload them to your account, then to set them for a specific domain or subdomain using the Hosted Domains section of the Hepsia CP. You may do this for every single site hosted in the account independently, so that every group of custom pages shall have the very same style and design as the website it's part of. When necessary, you could always revert back to a default page from our system or to the default Apache server page. A different way to set customized error pages is to create an .htaccess file inside the domain/subdomain root folder and to add a few lines in it. If you have never done this before, you can simply copy the required code from our Help article about this.

Custom Error Pages in Semi-dedicated Hosting

If you host your sites in a semi-dedicated server account from us, you'll be able to set custom error pages for any of them easily using our in-house created Hepsia hosting CP. With a couple of mouse clicks inside the Hosted Domains section, you can modify the default setting from a system page to a tailor-made one for each of the 4 error types. All you should do is provide a link to every single file that you have uploaded before that and then save the change. If necessary, you shall be able to revert this modification whenever you want and in exactly the same way. If you would like, you could use an .htaccess file too. It should be created/uploaded in the domain or subdomain folder associated with the site whose error pages you want to change and the content for this kind of file can be found in our Help article about this matter.