If you have browsed many websites, you have probably stumbled upon some error message every now and then. An error could take place when the server can't process a request (Error 400), if you need to log in so as to see some content and you haven't done so (Error 401), if you aren't permitted to access a page (Error 403) or when a link leads to a file that isn't on the server (Error 404). Getting this sort of messages may often be irritating as the pages have nothing in common with the actual site. That’s why some website hosting companies allow you to set your own error pages that'll match the layout of your own site and that may have any content which you would like - details why the error has taken place, a suggestion how to handle it or even some amusing comment. Such a feature can help you keep the visitor on the site regardless of the error and the reason for it.
Custom Error Pages in Cloud Hosting
If you buy a cloud hosting from us, you shall be able to set custom error pages for your Internet sites fast and easy, since this feature is a part of all our packages. The moment 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 specific domain or subdomain. Inside the pop-up that will show up, you shall see drop-down options menus for all 4 sorts of errors and for each one of them you may pick an Apache default page, a generic page from our system or a customized page. If you select the third option, you should only input the URL to the file which you have uploaded then save the change. Another way to set customized error pages is to create an .htaccess file in the domain or subdomain folder and to add a couple of lines of program code in it. If you don't have preceding experience or if you're simply unsure how to do that, you could just copy/paste the code from our Knowledge Base article on that topic.
Custom Error Pages in Semi-dedicated Servers
When you host your websites in a semi-dedicated server account from us, you could set customized error pages for each of them with ease using our in-house developed Hepsia hosting Control Panel. With just several clicks inside the Hosted Domains section, you'll be able to modify the default setting from a system page to a customized one for each of the 4 error types. All you have to do is provide a link to each and every file which you have uploaded before that and then save the change. If necessary, you'll be able to revert this customization anytime and in exactly the same way. If you wish, you may use an .htaccess file as well. It has to be created/uploaded inside the domain or subdomain folder linked to the internet site whose error pages you intend to alter and the content for this sort of file can be found in our Help article for this matter.