If a specific page on a website does not load for some reason or in case a link is not functioning, the visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the Internet site, that can make the visitor leave your site. A potential solution in such a case is a feature offered by some hosting service providers - the option to set up your own customized error pages which shall have the same layout as your website and which may contain any text or images that you would like dependent upon the particular error. There are four popular 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 web server and it cannot be processed; 401, if you are supposed to log in to see some page, but you haven't done so yet; 403, if you don't have an authorization to see a specific page; and 404, in case a link that you have clicked leads to a file that does not exist. In each of these scenarios, website visitors will be able to see your custom made content instead of a generic error page.

Custom Error Pages in Web Hosting

If you buy a Linux web hosting package from our company, you'll be able to set custom made error pages for your sites fast and easy, as this function is a part of all our plans. As soon as you've 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 selected domain or subdomain. Inside the pop-up that will appear, you'll see drop-down menus for all 4 sorts 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 select the third option, you should just enter the URL to the file you have uploaded and save the change. Another way to set custom made error pages is to create an .htaccess file inside the domain or subdomain folder and to include several lines of program code in it. If you do not have preceding experience or if you are just uncertain how to do that, you may just copy and paste the code from our Knowledge Base article on that subject.