If you have browsed lots of websites, you've probably stumbled upon some error message once in a while. An error could take place if the server can't process a request (Error 400), if you have to log in so that you can see some content and you haven't done so (Error 401), if you aren't allowed to access a page (Error 403) or when a link leads to a file that isn't on the hosting server (Error 404). Getting this type of messages may often be irritating because the pages have nothing in common with the actual Internet site. That’s why some web hosting companies permit you to set your own error pages that'll match the style of your own site and which can have any content which you'd like - info why the error has occurred, a suggestion how to proceed or even some witty remark. This sort of feature can help you keep the visitor on the site regardless of the error or the reason for it.

Custom Error Pages in Hosting

When you purchase a Linux hosting from our company, you will be able to set custom error pages for your websites easily, as this feature is part of all of our plans. The moment you've created the files and uploaded them to your 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 that will be displayed, you will see drop-down options menus for all 4 sorts of errors and for each of them you could pick an Apache default page, a generic page from our system or a tailor-made page. In case you pick the third option, you should simply type the URL to the file that you've uploaded and save the change. One other way to set personalized error pages is to create an .htaccess file in the domain or subdomain folder and to include several lines of program code in it. If you don't have preceding experience or if you're simply uncertain how to do this, you may just copy/paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Hosting

When you host your sites in a semi-dedicated server account with us, you can set customized error pages for any of them effortlessly using our in-house built Hepsia hosting CP. With several clicks in the Hosted Domains section, you'll be able to change the default setting from a system page to a custom one for each of the 4 error types. All you should do is supply a link to every single file which you have uploaded before that and then save the change. If necessary, you will be able to revert this customization anytime and in exactly the same way. If you'd like, you may use an .htaccess file too. It has to be created/uploaded inside the domain or subdomain folder belonging to the internet site whose error pages you would want to alter and the content for this kind of file can be found in our Help article for this matter.