If a specific page on a site doesn't load for some reason or if a link is not working, the visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the Internet site, that could make the visitor leave the website. A solution in cases like this is a feature offered by some web hosting companies - the option to set up your own custom error pages that will have identical layout as your site and which may contain any images or text that you'd like depending on the specific error. There are four common errors that may 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're supposed to log in to see a web page, but you haven't done so yet; 403, if you do not have a permission to view a certain page; and 404, if a link which you've clicked leads to a file that does not exist. In each of these situations, visitors will be able to see your customized content as opposed to a generic error page.

Custom Error Pages in Cloud Hosting

If you buy a Linux cloud hosting package from us, you shall be able to set customized error pages for your sites fast and easy, since this function is a part of all of our packages. As soon as you have created the files and uploaded them to your hosting account, you can go to the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the specific domain or subdomain. In the pop-up that will appear, you'll see drop-down options menus for all 4 types of errors and for each one of them you may choose an Apache default page, a generic page from our system or a customized page. In case you choose the 3rd option, you should just input the URL to the file that you've uploaded and save the change. Another way to set customized error pages is to set up an .htaccess file inside the domain or subdomain folder and to include a couple of lines of code in it. If you don't have prior experience or if you're just not sure how to do that, you can just copy and paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Hosting

Our Linux semi-dedicated packages support custom made error pages, so you will be able to use this function for each domain or subdomain hosted inside your account. All it will take to do that is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button linked to the given domain/subdomain and to input the link to the custom file. You can do this individually for each and every error type. You shall be able to switch back to a default error page whenever you want if required and the change will take effect immediately. Another way to achieve the same result is to place an .htaccess file in the domain or subdomain folder of the website which you would like to modify and to type in a few lines of code in it. If you need to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, thus you'll not need any computer programming skills or prior experience.