If you have checked out lots of sites, you have probably stumbled upon some error message once in a while. An error may occur if the 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 that is not on the hosting server (Error 404). Getting this sort of messages can sometimes be aggravating since the pages have nothing in common with the actual website. That’s why some web hosting companies allow you to set your own error pages which will match the layout of your own site and which can have any content that you want - details why the error has occurred, a suggestion how to proceed or even some humorous comment. This kind of function can help you keep the visitor on the website regardless of the error or the reason for it.

Custom Error Pages in Cloud Hosting

When you get a Linux cloud plan from us, you'll be able to set custom made error pages for your sites quickly and easily, because this function is a part of all of our plans. The moment you have 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 specific domain or subdomain. In the pop-up which will be displayed, you will see drop-down options menus for all four sorts of errors and for each one of them you may choose an Apache default page, a generic page from our system or a customized page. Should you pick the third option, you should only type the URL to the file you have uploaded and save the change. One other way to set custom made error pages is to create an .htaccess file inside the domain or subdomain folder and to add several lines of code in it. If you don't have preceding experience or if you are just unsure how to do that, you could simply copy and paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Servers

All of the Linux semi-dedicated servers that we supply support tailor-made error pages and it shall not take more than a few mouse clicks from your Hepsia hosting Control Panel to use this function. The option is available in the Hosted Domains section of your Control Panel in which you will have to enter the links to the custom-made files using basic drop-down menus and an intuitive interface. Of course, you must upload them to your account before that. If you don't want to use this feature at some point, you could deactivate it just as quickly and pick an Apache server page or a default page from our system to be displayed whenever your visitors encounter an error. If you'd like to, you could also use an .htaccess file to allow the custom made error pages. The file should include a particular line of code as well as a link for every error type and you can easily discover an example of the whole content for all four error types in our Help section.