If you have browsed a lot of websites, you've probably come across some error message now and again. An error may occur when the hosting server cannot process a request (Error 400), if you must log in so as to see some content and you haven't done so (Error 401), if you are not allowed to access a webpage (Error 403) or when a link leads to a file that isn't on the web server (Error 404). Receiving this sort of messages could often be frustrating since the pages don't have anything in common with the actual site. That’s why some hosting service providers allow you to set your own error pages that will match the design of your own website and that can have any content which you'd like - info why the error has taken place, a suggestion how to handle it or even some witty comment. This kind of function will help you keep the visitor on the site whatever the error or the reason for it.

Custom Error Pages in Shared Web Hosting

When you obtain a shared web hosting from us, you will be able to set custom error pages for your websites fast and easy, as this feature is a part of all our solutions. As soon as you have created the files and uploaded them to your web hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the specific domain or subdomain. Inside the pop-up that will appear, you shall see drop-down options menus for all four kinds of errors and for each of them you can pick an Apache default page, a generic page from our system or a custom made page. If you choose the third option, you should simply type the URL to the file that you've uploaded then save the change. Another way to set custom made 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 do not have previous experience or if you are just not sure how to do this, you may just copy and paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Servers

When you host your websites in a semi-dedicated server account with our company, you can set tailor-made error pages for each of them easily using our in-house created Hepsia hosting Control Panel. With only a couple of clicks inside the Hosted Domains section, you'll be able to edit the default setting from a system page to a custom one for any of the four error types. All you should do is provide a link to every single file which you have uploaded before that and then save the change. If required, you'll be able to revert this modification anytime and in exactly the same way. If you prefer, you could use an .htaccess file as well. It should be created/uploaded within the domain or subdomain folder linked to the site whose error pages you would want to change and the content for this type of file can be found in our Help article about this matter.