If you have looked at a lot of sites, you have probably encountered some error message now and again. An error can take place when the server can't process a request (Error 400), if you need to log in in order to see some content and you haven't done so (Error 401), if you aren't permitted to access a webpage (Error 403) or if a link leads to a file that isn't on the website hosting server (Error 404). Encountering this type of messages can often be annoying as the pages have nothing in common with the actual website. That’s why some website hosting providers permit you to use your own error pages that will match the layout of your own Internet site and that may have any content which you'd like - info why the error has appeared, a suggestion how to proceed or even some humorous comment. This type of feature can help you keep the visitor on the website regardless of the error or the reason for it.

Custom Error Pages in Website Hosting

If you order a website hosting from us, you will be able to set customized error pages for your websites quickly and easily, because this function is a part of all our solutions. After you have created the files and uploaded them to your web hosting account, you can go to the Hosted Domains section of your Hepsia Control Panel 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 options menus for all four kinds of errors and for each one of them you could select an Apache default page, a generic page from our system or a tailor-made page. In case you choose the third option, you should only input the URL to the file that you've uploaded then save the change. Another way to set custom error pages is to create an .htaccess file inside the domain or subdomain folder and to add a few lines of program code in it. If you don't have prior experience or if you're simply unsure how to do this, you could simply copy/paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Servers

Our semi-dedicated servers support customized error pages, so you will be able to employ this feature for each and every domain or subdomain hosted inside your account. All it will take to do that is to go to the Hosted Domains section of the Hepsia CP, to click on the Edit button related to the given domain/subdomain and then to type the link to the custom file. You are able to do this separately for each error type. You shall be able to switch back to a default error page anytime if required and the change will take effect at once. A different way to get the very same result is to put an .htaccess file inside the domain or subdomain folder related to the website which you want to change and to type in several lines of code in it. If you'd like to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, hence you'll not need any coding skills or previous experience.