If a specific page on a website does not load for some reason or in case a link is not functioning, the website visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the Internet site, which can make the visitor leave the website. A solution in this case is a function offered by some hosting service providers - the option to set your own customized error pages which will have the same design as your Internet site and that may contain any text or images that you would like depending on the specific error. There are 4 well-known errors that could occur and they involve these so-called HTTP status codes - 400, when your web browser sends a bad request to the hosting server and it cannot be processed; 401, if you are supposed to log in to see a webpage, but you have not done this yet; 403, if you do not have an authorization to see a certain page; and 404, if a link which you have clicked leads to a file which does not exist. In any of these cases, website visitors shall be able to see your personalized content rather than a generic error page.

Custom Error Pages in Hosting

When you order a hosting from us, you'll be able to set custom error pages for your websites fast and easy, since this feature 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 selected domain or subdomain. Inside the pop-up which will appear, you shall see drop-down options menus for all four types of errors and for each one of them you could pick an Apache default page, a generic page from our system or a personalized page. If you choose the 3rd option, you should simply input the URL to the file which you have uploaded then save the change. Another way to set custom error pages is to create an .htaccess file in the domain or subdomain folder and to add a couple of lines of code in it. In case you don't have previous experience or if you're just not sure how to do this, you may simply copy and paste the code from our Knowledge Base article on that subject.