If you have checked out a lot of sites, you have probably encountered some error message now and again. An error could occur when the web server can't process a request (Error 400), if you need to log in to see some content and you haven't done so (Error 401), if you are not able to access some page (Error 403) or if a link leads to a file which isn't on the server (Error 404). Encountering this kind of messages could sometimes be frustrating as the pages have nothing in common with the actual website. That’s why some hosting companies permit you to set your own error pages which will match the design of your own website and which can have any content which you want - info why the error has occurred, a suggestion what you can do or even some witty comment. Such a function will help you keep the visitor on the site irrespective of the error and the reason for it.

Custom Error Pages in Shared Web Hosting

If you get a Linux shared web hosting package from us, you'll be able to set customized error pages for your websites easily, because this function is part of all of our solutions. The moment you have created the files and uploaded them to your web hosting account, you can check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the specific domain or subdomain. In the pop-up which will show up, you shall see drop-down menus for all 4 types of errors and for each one of them you could pick an Apache default page, a generic page from our system or a customized page. In case you choose the third option, you should just input the URL to the file that you have uploaded and save the change. A different way to set custom made error pages is to create an .htaccess file inside the domain or subdomain folder and to include several lines of code in it. If you don't have prior experience or if you are just uncertain 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 Hosting

All of our Linux semi-dedicated packages support personalized error pages, so you'll be able to use this feature for every single domain or subdomain hosted in your account. All it will take to do this is to check out the Hosted Domains section of the Hepsia CP, to click on the Edit button related to the given domain/subdomain and to enter the link to the custom-made file. You could do this separately for each and every error type. You will be able to switch back to a standard error page anytime if required and the change shall take effect straightaway. Another way to achieve the very same result is to place an .htaccess file inside the domain or subdomain folder associated with the website that you want to change and to input several lines of code within it. If you want to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, therefore you will not need any coding skills or prior experience.