If you have checked out lots of sites, you have probably come across some error message now and again. An error may occur when the website 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 are not able 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 often be aggravating as the pages have nothing in common with the actual Internet site. That’s why some web hosting providers permit you to set your own error pages which will match the style of your own website and that could have any content which you want - details why the error has taken place, a suggestion what you can do or even some humorous comment. This type of feature shall help you keep the visitor on the site whatever the error or the reason for it.
Custom Error Pages in Shared Hosting
You will be able to set up custom error pages for each of your domains or subdomains. The function is supported by all shared hosting
plans which we provide, so once you log in to the Hepsia CP and check out the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that will show up, you can select the kind of error page that should show up - a default one from our system, a conventional Apache server page or a custom one. For the aforementioned alternative, you have to specify the URL to the page, so if you use custom pages, you must upload the files in your hosting account first. An alternative way is to use an .htaccess file placed in the domain or subdomain folder with a line for each and every error type. The actual syntax can be seen in our Knowledge Base, so you can use this function even if you don't have any previous experience.
Custom Error Pages in Semi-dedicated Servers
If you host your websites in a semi-dedicated server
account from us, you'll be able to set personalized error pages for any of them with ease via our custom Hepsia hosting Control Panel. With just a few clicks inside the Hosted Domains section, you can modify the default setting from a system page to a custom one for any of the 4 error types. All you should do is provide a link to every single file that you have uploaded before that and then save the change. If required, you shall be able to revert this modification at any time and in exactly the same way. If you want, you can use an .htaccess file as well. It has to be created/uploaded inside the domain or subdomain folder associated with the internet site whose error pages you want to change and the content for such a file can be found in our Help article on this matter.