If you have browsed a lot of Internet sites, you have probably stumbled upon some error message from time to time. An error can occur when the web hosting server can't 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 aren't allowed to access a webpage (Error 403) or if a link leads to a file that is not on the hosting server (Error 404). Receiving this sort of messages may often be annoying because the pages have absolutely nothing in common with the actual website. That’s why some web hosting companies allow you to apply your own error pages that will match the layout of your own Internet site and that can have any content that you'd like - details why the error has taken place, a suggestion what you can do or even some amusing remark. Such a feature shall help you keep the visitor on the website irrespective of the error and the reason for it.

Custom Error Pages in Cloud Website Hosting

When you obtain a cloud website hosting from us, you'll be able to set custom error pages for your sites easily and quickly, because this feature is part of all our packages. The moment you've created the files and uploaded them to your hosting account, you can go to the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. In the pop-up that will be displayed, you will see drop-down menus for all 4 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 made page. Should you choose the third option, you should simply input the URL to the file that you've uploaded then save the change. A different way to set custom 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 previous experience or if you are just unsure how to do that, you could simply copy and 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 from us, you could set personalized error pages for any of them with ease via our in-house created Hepsia hosting CP. With several mouse clicks inside the Hosted Domains section, you are able to change the default setting from a system page to a personalized one for any of the 4 error types. All you need to do is provide a link to each file that you have uploaded before that and then save the change. If needed, you'll be able to revert this change at any time and in exactly the same way. If you would like, you could use an .htaccess file too. It has to be created/uploaded inside the domain or subdomain folder linked to the internet site whose error pages you would want to change and the content for this kind of file can be found in our Help article for this matter.