If you have looked at lots of sites, you've probably encountered some error message now and again. An error may take place if the hosting server cannot process a request (Error 400), if you need to log in in order to see some content and you have not done so (Error 401), if you are not allowed to access some page (Error 403) or if a link leads to a file that is not on the website hosting server (Error 404). Receiving such messages can sometimes be annoying as the pages have absolutely nothing in common with the actual Internet site. That’s why some hosting service providers allow you to use your own error pages which will match the layout of your own site and that can have any content which you'd like - info why the error has occurred, a suggestion what you can do or even some witty comment. This kind of feature shall help you keep the visitor on the website no matter the error and the reason for it.
Custom Error Pages in Website Hosting
You shall be able to set up personalized error pages for all of your domains or subdomains. The function is supported by all website hosting
plans which we provide, so once you log in to the Hepsia CP 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 appear, you can choose the type of error page that should show up - a default one from our system, a typical Apache web server page or a personalized one. For the aforementioned option, you need to specify the URL to the page, so if you use custom pages, you need to upload the files inside your web hosting account first. Another way is to use an .htaccess file placed inside the domain or subdomain folder with a line for every error type. The correct syntax can be located 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 websites in a semi-dedicated server
account from our company, you may set custom made error pages for any of them easily through our custom Hepsia hosting Control Panel. With just several mouse clicks in the Hosted Domains section, you'll be able to modify the default setting from a system page to a tailor-made one for each of the 4 error types. All you need to do is provide a link to every single file which you have uploaded before that and then save the change. If necessary, you shall be able to revert this modification anytime and in exactly the same way. If you prefer, you can use an .htaccess file as well. It has to be created/uploaded in the domain or subdomain folder linked to the site whose error pages you intend to alter and the content for such a file can be found in our Help article about this matter.