If you have browsed many Internet sites, you have probably come across some error message once in a while. An error can occur in case the hosting 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 able to access some webpage (Error 403) or if a link leads to a file which isn't on the web server (Error 404). Encountering this type of messages may often be frustrating since the pages have absolutely nothing in common with the actual site. That’s why some web hosting companies allow you to apply your own error pages which will match the layout of your own website and that can have any content which you want - information why the error has taken place, a suggestion how to proceed or even some amusing comment. This sort of feature shall help you keep the visitor on the website irrespective of the error or the reason for it.
Custom Error Pages in Shared Hosting
If you get a Linux shared hosting package from our company, you'll be able to set personalized error pages for your websites easily and quickly, because this feature is a part of all of our solutions. After 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 particular domain or subdomain. Inside the pop-up which will be displayed, you shall see drop-down menus for all 4 sorts of errors and for each of them you can choose an Apache default page, a generic page from our system or a tailor-made page. In case you choose the third option, you should only enter the URL to the file that you've uploaded and save the change. Another way to set customized error pages is to create an .htaccess file inside the domain or subdomain folder and to add a couple of lines of code in it. In case you don't have previous experience or if you're just not sure 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 Hosting
When you host your sites in a semi-dedicated server account with us, you could set personalized error pages for each of them with ease through our custom Hepsia hosting Control Panel. With only a few mouse clicks in the Hosted Domains section, you'll be able to edit the default setting from a system page to a custom made one for any of the four error types. All you must do is supply a link to each file that you have uploaded before that and then save the change. If needed, you will be able to revert this customization at any time and in exactly the same way. If you prefer, you may use an .htaccess file as well. It should be created/uploaded in the domain or subdomain folder associated with the site whose error pages you would want to change and the content for such a file can be found in our Help article about this matter.