If you have browsed many sites, you've probably come across some error message once in a while. An error can take place in case the hosting server can't process a request (Error 400), if you need to log in in order to see some content and you have not done so (Error 401), if you aren't permitted to access some webpage (Error 403) or when a link leads to a file that is not on the web server (Error 404). Receiving this sort of messages can sometimes be annoying since the pages have absolutely nothing in common with the actual website. That’s why some website hosting service providers permit you to set your own error pages that'll match the design of your own website and that may have any content which you want - information why the error has appeared, a suggestion how to handle it or even some witty comment. Such a function shall help you keep the visitor on the site regardless of the error and the reason for it.
Custom Error Pages in Web Hosting
When you get a Linux web hosting from us, you'll be able to set customized error pages for your Internet sites fast and easy, because this function is a part of all our plans. As soon as you have created the files and uploaded them to your web hosting account, you can check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. In the pop-up that will show up, you shall see drop-down menus for all four types of errors and for each of them you could choose an Apache default page, a generic page from our system or a custom made page. Should you pick the third option, you should just type the URL to the file which you have uploaded and save the change. Another way to set customized error pages is to set up an .htaccess file in the domain or subdomain folder and to add a couple of lines of program code in it. If you do not have preceding experience or if you're simply not sure how to do that, you may just copy/paste the code from our Knowledge Base article on that subject.
Custom Error Pages in Semi-dedicated Hosting
If you host your websites in a semi-dedicated server account with us, you may set personalized error pages for each of them with ease using our in-house built Hepsia hosting Control Panel. With several mouse clicks in the Hosted Domains section, you can modify the default setting from a system page to a customized one for each of the 4 error types. All you must do is supply a link to every single file which you have uploaded before that and then save the change. If necessary, you shall be able to revert this customization at any time and in exactly the same way. If you would like, you could use an .htaccess file too. It has to be created/uploaded in the domain or subdomain folder associated with the internet site whose error pages you intend to change and the content for this type of file can be found in our Help article for this matter.