If a particular page on a site doesn't load for some reason or in case a link is not functioning, the website visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the website, which may make the visitor leave your Internet site. A solution in this case is a function offered by some hosting providers - the ability to set up your own customized error pages which will have exactly the same design and style as your site and which may contain any text or images you want depending on the particular error. There are four standard errors that could 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 web server and it cannot be processed; 401, if you are supposed to log in to see some web page, but you have not done this yet; 403, if you do not have an authorization to view a particular page; and 404, when a link that you've clicked leads to a file that does not exist. In any of these cases, site visitors will be able to see your custom content instead of a generic error page.

Custom Error Pages in Web Hosting

If you obtain a Linux web hosting from our company, you will be able to set custom made error pages for your sites easily and quickly, because this feature is part of all of our plans. As soon as you've created the files and uploaded them to your website hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the particular domain or subdomain. Inside the pop-up that will be displayed, you shall see drop-down menus for all 4 sorts of errors and for each one of them you can pick an Apache default page, a generic page from our system or a customized page. If you choose the third option, you should only type the URL to the file that you have uploaded and save the change. Another way to set personalized error pages is to create an .htaccess file inside the domain or subdomain folder and to add a couple of lines of program code in it. In case you don't have prior experience or if you're simply not sure how to do this, you could simply copy and paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Hosting

All our Linux semi-dedicated hosting support personalized error pages, thus you'll be able to use this function for each domain or subdomain hosted in your account. All it will take to do this is to visit the Hosted Domains section of the Hepsia CP, to click the Edit button related to the particular domain/subdomain and then to input the link to the custom file. You can do this individually for each and every error type. You will be able to switch back to a standard error page anytime if required and the change will take effect immediately. Another way to achieve the very same result is to put an .htaccess file in the domain or subdomain folder related to the web site that you would like to change and to input a few lines of code in it. If you need to try this method, you could copy and paste the necessary code from our Knowledge Base article on custom error pages, hence you shall not need any coding skills or prior experience.