If a certain page on a site doesn't load for some reason or in case a link is broken, the site visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the Internet site, that may make the visitor leave your website. A solution in this case is a feature offered by some hosting service providers - the option to set your own customized error pages which will have the same design and style as your website and that may contain any text or images you want based on the particular error. There are 4 common errors that could occur and they involve the following so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the web server and it can't be processed; 401, if you're supposed to log in to see a page, but you haven't done this yet; 403, if you do not have a permission to view a particular page; and 404, when a link that you've clicked leads to a file that doesn't exist. In any of these situations, site visitors will be able to see your custom content rather than a generic error page.

Custom Error Pages in Web Hosting

If you acquire a web hosting from us, you will be able to set custom made error pages for your Internet sites easily and quickly, since this feature is a part of all of our solutions. The moment you have created the files and uploaded them to your website hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. In the pop-up which will show up, you'll see drop-down options menus for all 4 sorts of errors and for each one of them you can select an Apache default page, a generic page from our system or a tailor-made page. In case you select the 3rd option, you should only enter the URL to the file that you've uploaded then save the change. Another way to set personalized error pages is to set up an .htaccess file in the domain or subdomain folder and to add a couple of lines of program code in it. If you do not have preceding experience or if you are simply not sure how to do that, you may just copy and paste the code from our Knowledge Base article on that matter.