If a specific page on a site doesn't load for some reason or if a link is not working, the site visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the website, that could make the visitor leave the website. A possible solution in this case is a function offered by some web hosting providers - the ability to set your own customized error pages that shall have identical layout as your Internet site and that could contain any text or images that you'd like depending on the particular error. There are 4 common errors which may take place and they involve the following so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the hosting server and it can't be processed; 401, if you're supposed to log in to see a webpage, but you haven't done this yet; 403, if you do not have an authorization to see a particular page; and 404, when a link which you've clicked leads to a file that doesn't exist. In each of these scenarios, visitors will be able to see your customized content instead of a generic error page.

Custom Error Pages in Cloud Web Hosting

When you purchase a Linux cloud web hosting package from our company, you shall be able to set customized error pages for your websites fast and easy, since this function is a part of all of our solutions. As soon as you've created the files and uploaded them to your web hosting account, you can go to the Hosted Domains section of your Hepsia CP and click on the Edit button for the selected domain or subdomain. In the pop-up that will appear, you will see drop-down options menus for all 4 sorts of errors and for each one of them you may select an Apache default page, a generic page from our system or a tailor-made page. If you choose the third option, you should only enter the URL to the file that you have uploaded and save the change. One other way to set custom error pages is to create an .htaccess file in the domain or subdomain folder and to include a few lines of code in it. If you don't have previous experience or if you are just not sure how to do that, you can just copy and paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Hosting

If you host your websites in a semi-dedicated server account with us, you may set personalized error pages for any of them easily using our in-house created Hepsia hosting Control Panel. With just a couple of mouse clicks inside the Hosted Domains section, you could change the default setting from a system page to a custom made one for each of the 4 error types. All you must do is supply a link to each file that you've uploaded before that and then save the change. If needed, you shall be able to revert this change anytime and in exactly the same way. If you wish, you can use an .htaccess file as well. It has to be created/uploaded inside the domain or subdomain folder linked to the site whose error pages you would like to alter and the content for this kind of file can be found in our Help article about this matter.