If you have checked out a lot of sites, you've probably stumbled upon some error message every now and then. An error can take place if the hosting server cannot process a request (Error 400), if you must log in so that you can see some content and you haven't done so (Error 401), if you are not permitted to access a webpage (Error 403) or if a link leads to a file that is not on the server (Error 404). Encountering this sort of messages may often be aggravating since the pages have absolutely nothing in common with the actual website. That’s why some hosting companies allow you to apply your own error pages that'll match the design of your own website and that can have any content that you want - details why the error has taken place, a suggestion what you can do or even some funny remark. This type of function will help you keep the visitor on the site irrespective of the error and the reason for it.
Custom Error Pages in Website Hosting
You'll be able to set up customized error pages for any of your domains or subdomains. The function is supported by all website hosting package which we offer, so as soon as you log in to your Hepsia Control Panel and check out the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up which will appear, you could select the sort of error page that should appear - a default one from our system, a typical Apache server page or a customized one. For the aforementioned alternative, you need to assign the URL to the page, so when you use customized pages, you should upload the files inside your hosting account first. An alternative way is to use an .htaccess file positioned in the domain or subdomain folder with a line for each and every error type. The exact syntax can be found in our Knowledge Base, so that you can use this feature even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Servers
If you host your web sites in a semi-dedicated server account with us, you'll be able to set personalized error pages for any of them with ease through our in-house developed Hepsia hosting Control Panel. With several clicks in the Hosted Domains section, you are able to modify the default setting from a system page to a custom made one for each of the 4 error types. All you should do is provide a link to each and every file that you have uploaded before that and then save the change. If needed, you shall be able to revert this change at any time and in exactly the same way. If you wish, you may use an .htaccess file as well. It has to be created/uploaded in the domain or subdomain folder belonging to the website whose error pages you would like to alter and the content for such a file can be found in our Help article for this matter.