If a particular page on a website doesn't load for some reason or if a link is not working, the website visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the website, which may make the visitor leave your site. A possible solution in such a case is a feature offered by some website hosting companies - the option to set your own custom-made error pages which will have the exact same layout as your site and that could contain any images or text that you would like depending on the specific error. There are four well-known errors which can take place and they involve the following so-called HTTP status codes - 400, when your browser sends a bad request to the server and it can't be processed; 401, if you are supposed to log in to see a web page, but you haven't done this yet; 403, if you do not have a permission to see a specific page; and 404, in case a link which you've clicked leads to a file which doesn't exist. In all of these cases, website visitors will be able to see your custom made content rather than a generic error page.

Custom Error Pages in Shared Web Hosting

When you purchase a Linux shared web hosting package from our company, you will be able to set personalized error pages for your sites easily, because this function is a part of all our solutions. The moment you've created the files and uploaded them to your website 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. Inside the pop-up which will be displayed, you shall see drop-down options menus for all 4 types of errors and for each one of them you can choose an Apache default page, a generic page from our system or a custom page. If you choose the 3rd option, you should only input the URL to the file that you have uploaded then save the change. One other way to set personalized error pages is to create an .htaccess file in the domain or subdomain folder and to add several lines of code in it. If you do not have previous experience or if you're simply not sure how to do that, you could just copy/paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Hosting

All our Linux semi-dedicated hosting packages support tailor-made error pages, so you'll be able to employ this feature for any domain or subdomain hosted in your account. All it takes to do this is to check out the Hosted Domains section of the Hepsia CP, to click on the Edit button associated with the particular domain/subdomain and then to type in the link to the custom file. You could do this independently for every error type. You'll be able to switch back to a default error page whenever you want if necessary and the change shall take effect right away. A different way to get the same result is to place an .htaccess file in the domain or subdomain folder of the Internet site which you'd like to edit and to enter several lines of code within it. If you want to try this method, you could copy and paste the needed code from our Knowledge Base article on custom error pages, so you'll not need any computer programming skills or prior experience.