If you have looked at loads of sites, you've probably stumbled upon some error message once in a while. An error can take place when the web hosting server can't process a request (Error 400), if you need to log in to see some content and you haven't done so (Error 401), if you are not able to access a page (Error 403) or when a link leads to a file that isn't on the server (Error 404). Encountering this sort of messages can often be annoying since the pages have nothing in common with the actual website. That’s why some web hosting companies allow you to use your own error pages that will match the design of your own website and that could have any content which you want - information why the error has taken place, a suggestion how to proceed or even some amusing remark. This kind of feature shall help you keep the visitor on the site whatever the error and the reason for it.
Custom Error Pages in Website Hosting
If you order a website hosting from our company, you will be able to set personalized error pages for your sites quickly and easily, since this function is part of all of our plans. Once you have created the files and uploaded them to your website hosting account, you can check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the specific domain or subdomain. In the pop-up that will be displayed, you will see drop-down options menus for all four sorts of errors and for each one of them you could choose an Apache default page, a generic page from our system or a custom page. In case you pick the 3rd option, you should just enter the URL to the file which you have uploaded and save the change. A different way to set personalized error pages is to set up an .htaccess file inside the domain or subdomain folder and to include a couple of lines of code in it. If you don't have prior experience or if you're just uncertain how to do that, you could just copy/paste the code from our Knowledge Base article on that subject.
Custom Error Pages in Semi-dedicated Servers
If you host your sites in a semi-dedicated server account with our company, you may set customized error pages for any of them effortlessly via our in-house made Hepsia hosting CP. With several mouse clicks in the Hosted Domains section, you are able to change the default setting from a system page to a tailor-made one for any of the 4 error types. All you must do is provide a link to each and every file that you've uploaded before that and then save the change. If required, you shall be able to revert this change anytime and in exactly the same way. If you prefer, you may use an .htaccess file too. It has to be created/uploaded in the domain or subdomain folder related to the website whose error pages you would want to modify and the content for such a file can be found in our Help article about this matter.