If you have checked out loads of sites, you've probably come across some error message now and again. An error may take place when the hosting server can't 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 permitted to access a webpage (Error 403) or when a link leads to a file which is not on the server (Error 404). Encountering this type of messages could sometimes be annoying since the pages have absolutely nothing in common with the actual site. That’s why some web hosting service providers permit you to set your own error pages that'll match the design of your own site and which can have any content that you want - details why the error has appeared, a suggestion how to handle it or even some funny comment. This type of feature shall help you keep the visitor on the site irrespective of the error or the reason for it.

Custom Error Pages in Web Hosting

If you get a Linux web hosting package from our company, you'll be able to set custom error pages for your websites quickly and easily, since this function is a part of all our solutions. As soon as you've created the files and uploaded them to your hosting account, you can check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the selected domain or subdomain. Inside the pop-up which will be displayed, you will see drop-down options 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 tailor-made page. In case you choose the 3rd option, you should only enter the URL to the file that you've uploaded and save the change. A different way to set personalized error pages is to create an .htaccess file in the domain or subdomain folder and to include a couple of lines of program code in it. If you don't have previous experience or if you're just unsure how to do that, you can just copy and paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Hosting

All Linux semi-dedicated hosting packages which we offer support customized error pages and it shall not take more than several mouse clicks in your Hepsia web hosting Control Panel to use this functionality. The option is included in the Hosted Domains section of your Control Panel where you'll need to type in the links to the custom-made files via basic drop-down menus and an easy to work with interface. Of course, you have to upload them to your account before that. If you don't want to use this function at some point, you could disable it just as quickly and choose an Apache server page or a default page from our system to be displayed whenever your visitors encounter an error. If you prefer, you could also use an .htaccess file to allow the custom error pages. The file should include a specific line of code as well as a link for each error type and you may find an example of the entire content for all four error types in our Help section.