If you have looked at a lot of sites, you have probably encountered some error message once in a while. An error may occur in case the web hosting server cannot process a request (Error 400), if you need to log in so that you can see some content and you haven't done so (Error 401), if you aren't able to access some page (Error 403) or if a link leads to a file that isn't on the website hosting server (Error 404). Getting this sort of messages could often be irritating since the pages have nothing in common with the actual website. That’s why some web hosting companies permit you to use your own error pages which will match the layout of your own Internet site and which may have any content which you want - details why the error has occurred, a suggestion what you can do or even some funny remark. Such a function 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 obtain a Linux web hosting from us, you will be able to set personalized error pages for your Internet sites easily, because this feature is 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 Control Panel and click on the Edit button for the selected domain or subdomain. In the pop-up which will be displayed, you will see drop-down menus for all 4 kinds of errors and for each of them you can pick an Apache default page, a generic page from our system or a customized page. Should you pick the 3rd option, you should only input the URL to the file that you've uploaded and save the change. Another way to set custom error pages is to set up an .htaccess file inside the domain or subdomain folder and to include several lines of program code in it. If you don't have previous experience or if you're just uncertain how to do this, you can just copy/paste the code from our Knowledge Base article on that topic.
Custom Error Pages in Semi-dedicated Servers
All of the semi-dedicated servers which we offer support custom made error pages and it shall not take more than a couple of mouse clicks in your Hepsia website hosting Control Panel to use this feature. The option is included in the Hosted Domains section of your CP where you'll need to type in the links to the custom-made files through very simple drop-down menus and an intuitive interface. Needless to say, you need to upload them to your account before that. In case you do not need to use this feature at some point, you will be able to deactivate it just as quickly and choose an Apache server page or a default page from our system to be shown when your visitors encounter an error. If you'd like to, you can also use an .htaccess file to activate the custom error pages. The file needs to include a specific line of code plus a link for every single error type and you can easily find an example of the whole content for all four error types in our Help section.