If you have browsed a lot of Internet sites, you've probably encountered some error message now and again. An error can occur in case the web hosting server can't process a request (Error 400), if you must log in in order to see some content and you have not done so (Error 401), if you are not allowed to access a webpage (Error 403) or if a link leads to a file which isn't on the website hosting server (Error 404). Receiving such messages can sometimes be aggravating since the pages have absolutely nothing in common with the actual website. That’s why some website hosting companies permit you to apply your own error pages which will match the layout of your own website and which can have any content which you would like - info why the error has taken place, a suggestion how to proceed or even some funny remark. This sort of feature can help you keep the visitor on the website irrespective of the error and the reason for it.
Custom Error Pages in Web Hosting
When you buy a Linux web hosting service from our company, you shall be able to set customized error pages for your sites fast and easy, because this feature is a part of all our packages. After you've created the files and uploaded them to your website hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the selected domain or subdomain. Inside the pop-up which will be displayed, you'll see drop-down menus for all 4 types of errors and for each one of them you may select an Apache default page, a generic page from our system or a customized page. Should you choose the third option, you should just input the URL to the file you have uploaded and save the change. One other way to set custom error pages is to set up an .htaccess file in the domain or subdomain folder and to include a couple of lines of code in it. If you do not have prior experience or if you're simply uncertain how to do this, you may simply copy/paste the code from our Knowledge Base article on that subject.
Custom Error Pages in Semi-dedicated Servers
When you host your websites in a semi-dedicated server account with us, you may set custom error pages for each of them easily through our in-house built Hepsia hosting Control Panel. With just several clicks in the Hosted Domains section, you can change the default setting from a system page to a personalized one for any of the 4 error types. All you should do is supply a link to each and every file you have uploaded before that and then save the change. If required, you will be able to revert this modification anytime and in exactly the same way. If you wish, you may use an .htaccess file too. It must be created/uploaded in the domain or subdomain folder related to the site whose error pages you intend to modify and the content for such a file can be found in our Help article about this matter.