If you have looked at a lot of sites, you have probably stumbled upon some error message every now and then. An error may occur when the web server cannot process a request (Error 400), if you need to log in so as to see some content and you have not done so (Error 401), if you aren't permitted to access some page (Error 403) or if a link leads to a file that isn't on the hosting server (Error 404). Getting this kind of messages could sometimes be annoying because the pages have absolutely nothing in common with the actual site. That’s why some hosting companies allow you to set your own error pages that will match the design of your own website and which can have any content that you would like - details why the error has occurred, a suggestion how to handle it or even some witty comment. This kind of feature can 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 our company, you shall be able to set personalized error pages for your Internet sites fast and easy, since this feature is part of all our packages. Once 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. Inside the pop-up that will be displayed, you will see drop-down menus for all four types of errors and for each of them you can select an Apache default page, a generic page from our system or a customized page. If you pick the third option, you should just enter the URL to the file which you have uploaded then save the change. Another way to set custom error pages is to set up an .htaccess file in the domain or subdomain folder and to include several lines of program code in it. If you do not have prior experience or if you're simply not sure 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 tailor-made error pages, so you'll be able to use this feature for any domain or subdomain hosted in your account. All it takes to do this is to go to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button related to the given domain/subdomain and then to input the link to the custom-made file. You are able to do this individually for each error type. You shall be able to switch back to a standard error page at any time if needed and the change shall take effect instantly. A different way to get the same exact result is to place an .htaccess file inside the domain or subdomain folder of the website which you want to modify and to input a couple of lines of program code within it. If you would like to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, so you won't need any computer programming skills or previous experience.