If you have checked out a lot of Internet sites, you have probably come across some error message now and again. An error could take place when the server cannot process a request (Error 400), if you must log in in order to see some content and you have not done so (Error 401), if you are not allowed to access a page (Error 403) or when a link leads to a file that is not on the server (Error 404). Encountering this sort of messages can sometimes be frustrating since the pages have absolutely nothing in common with the actual Internet site. That’s why some website hosting companies permit you to use your own error pages which will match the design of your own site and which may have any content which you would like - details why the error has occurred, a suggestion how to proceed or even some witty remark. Such a function will help you keep the visitor on the site regardless of the error and the reason for it.
Custom Error Pages in Shared Hosting
If you buy a Linux shared plan from our company, you'll be able to set custom made error pages for your sites fast and easy, as this feature is part of all our packages. Once you have created the files and uploaded them to your web hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the selected domain or subdomain. In the pop-up which will appear, you'll see drop-down menus for all four kinds of errors and for each one of them you can pick an Apache default page, a generic page from our system or a personalized page. Should you choose the third option, you should just type the URL to the file that you have uploaded then save the change. A different way to set personalized error pages is to create an .htaccess file inside the domain or subdomain folder and to include a few lines of code in it. In case you don't have previous experience or if you're just uncertain how to do that, you could just copy and paste the code from our Knowledge Base article on that matter.
Custom Error Pages in Semi-dedicated Servers
All of the semi-dedicated plans that we provide support customized error pages and it will not take more than a few clicks from your Hepsia hosting Control Panel to use this function. The option is available in the Hosted Domains section of your CP where you will have to input the links to the custom-made files through simple drop-down menus and an easy to work with interface. Of course, you should upload them to your account before that. In case you don't need to use this function at some point, you could disable it just as quickly and pick an Apache server page or a default page from our system to be viewable when your visitors encounter an error. If you prefer, you may also use an .htaccess file to activate the personalized error pages. The file needs to have a specific line of code and a link for every single error type and you may discover an example of the whole content for all four error types in our Help section.