If a specific page on a website doesn't load for some reason or if a link is not working, the website visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the website, which can make the visitor leave the website. A likely solution in this case is a feature made available from some web hosting service providers - the ability to set up your own personalized error pages that will have exactly the same style and design as your site and which may contain any images or text you want depending on the particular error. There are 4 standard errors which may take place and they involve the following so-called HTTP status codes - 400, when your Internet browser sends a bad request to the server and it cannot be processed; 401, if you're supposed to log in to see some webpage, but you have not done this yet; 403, if you do not have a permission to see a specific page; and 404, when a link which you've clicked leads to a file that does not exist. In any of these scenarios, visitors will be able to see your custom content as opposed to a generic error page.
Custom Error Pages in Shared Web Hosting
If you order a shared web hosting from us, you will be able to set custom made error pages for your sites easily, as this function is part of all our packages. 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 Control Panel 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 four sorts of errors and for each one of them you can pick an Apache default page, a generic page from our system or a personalized page. In case you select the 3rd option, you should simply type the URL to the file you have uploaded then save the change. One other way to set personalized 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 are simply unsure how to do that, you could just copy/paste the code from our Knowledge Base article on that subject.