If a particular page on a website does not load for some reason or in case a link is not working, 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, that may make the visitor leave your website. A likely solution in this case is a feature made available from some website hosting service providers - the ability to set up your own custom-made error pages that will have exactly the same style and design as your website and which could contain any text or images that you'd like depending on the particular error. There are four well-known errors that can occur and they involve these particular so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the hosting server and it cannot be processed; 401, in case you are supposed to log in to see some webpage, but you haven't done this yet; 403, if you don't have a permission to view a particular page; and 404, when a link that you have clicked leads to a file which doesn't exist. In any of these situations, site visitors shall be able to see your personalized content as opposed to a generic error page.

Custom Error Pages in Website Hosting

If you get a Linux website hosting package from our company, you shall be able to set customized error pages for your websites easily and quickly, since this feature is a part of all of our plans. Once you've 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 particular domain or subdomain. Inside the pop-up that will appear, you'll see drop-down options menus for all four sorts of errors and for each of them you could select an Apache default page, a generic page from our system or a personalized page. Should you pick the 3rd option, you should only enter the URL to the file that you've uploaded and save the change. One other way to set custom made error pages is to create an .htaccess file inside the domain or subdomain folder and to add a few lines of program code in it. If you don't have previous experience or if you are just unsure how to do that, you may just copy and paste the code from our Knowledge Base article on that topic.