If you have looked at many sites, you have probably encountered some error message every now and then. An error can occur in case the web server cannot process a request (Error 400), if you must log in so that you can see some content and you haven't done so (Error 401), if you are not permitted to access some page (Error 403) or when a link leads to a file that isn't on the server (Error 404). Receiving this kind of messages could often be frustrating since the pages don't have anything in common with the actual website. That’s why some website hosting companies permit you to set your own error pages that will match the style of your own website and that can have any content that you would like - info why the error has appeared, a suggestion how to proceed or even some amusing comment. Such a feature shall help you keep the visitor on the website whatever the error or the reason for it.

Custom Error Pages in Hosting

When you purchase a Linux hosting package from us, you will be able to set customized error pages for your websites easily, as this function is part of all of our solutions. Once you've 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 selected domain or subdomain. In the pop-up which will show up, you'll see drop-down menus for all four types of errors and for each one of them you can select an Apache default page, a generic page from our system or a custom page. In case you choose the third option, you should only type the URL to the file that you've uploaded and 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 add a few lines of program code in it. In case you don't have previous experience or if you are just not sure 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 Hosting

All of our Linux semi-dedicated packages support customized error pages, so you'll be able to employ this function for each domain or subdomain hosted inside your account. All it takes to do this is to check out the Hosted Domains section of the Hepsia CP, to click the Edit button related to the particular domain/subdomain and to enter the link to the custom-made file. You'll be able to do this independently for each and every error type. You will be able to switch back to a generic error page whenever you want if needed and the change shall take effect immediately. A different way to achieve the same result is to set an .htaccess file in the domain or subdomain folder related to the website which you want to edit and to input a few lines of program code in it. If you'd like to try this method, you can copy and paste the necessary code from our Knowledge Base article on custom error pages, therefore you won't need any programming skills or previous experience.

    • Our ID: 151274