If a particular page on an Internet site does not load for some reason or in case a link is broken, the site visitor will see an error page with a generic message. The page will have nothing in common with the rest of the website, which may make the visitor leave your Internet site. A solution in this case is a feature made available from some web hosting service providers - the option to set your own customized error pages that will have the exact same design as your site and which could contain any text or images that you would like based on the particular error. There are 4 common errors that may occur and they involve the following so-called HTTP status codes - 400, when your browser sends a bad request to the hosting server and it can't be processed; 401, in case you are supposed to log in to see some web page, but you have not done this yet; 403, if you do not have an authorization to view a certain page; and 404, if a link that you've clicked leads to a file which doesn't exist. In all of these situations, site visitors shall be able to see your custom made content rather than a generic error page.
Custom Error Pages in Shared Hosting
If you purchase a shared hosting from our company, you will be able to set customized error pages for your websites fast and easy, as this function is a part of all of our solutions. The moment you have created the files and uploaded them to your 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. In the pop-up that will appear, you shall see drop-down menus for all four types of errors and for each of them you may select an Apache default page, a generic page from our system or a personalized page. In case you pick the third option, you should just enter the URL to the file that you've uploaded then save the change. Another way to set customized error pages is to set up an .htaccess file inside the domain or subdomain folder and to add a few lines of code in it. If you don't have preceding experience or if you are simply not sure how to do this, you can just copy/paste the code from our Knowledge Base article on that topic.