If a certain page on a website doesn't load for some reason or if a link is broken, the site visitor will 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 your site. A potential solution in such a case is a feature offered by some web hosting service providers - the option to set up your own customized error pages which shall have exactly the same design as your website and which could contain any text or images that you would like dependent upon the specific error. There are four well-known errors which may occur and they involve the following so-called HTTP status codes - 400, when your browser sends a bad request to the hosting server and it cannot be processed; 401, in case you are 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, in case a link that you've clicked leads to a file that does not exist. In any of these situations, site visitors shall be able to see your custom content rather than a generic error page.

Custom Error Pages in Website Hosting

If you order a Linux website hosting package from us, you shall be able to set personalized error pages for your Internet sites fast and easy, because this function is part of all of our plans. As soon as you have created the files and uploaded them to your website hosting account, you can check out 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 can select an Apache default page, a generic page from our system or a custom made page. If you choose the 3rd option, you should just type the URL to the file you have uploaded and save the change. One other way to set customized error pages is to set up an .htaccess file inside the domain or subdomain folder and to add several lines of code in it. If you do not have preceding experience or if you're simply not sure how to do that, you can simply copy/paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Hosting

Including your personal pages for any of the 4 error types to any website hosted inside a semi-dedicated server account with us shall be very uncomplicated and shall not take more than a couple of mouse clicks. After you upload the files in your account, you could go to the Hosted Domains section of your Hepsia CP and edit any of the domains and subdomains listed there through an intuitive interface with drop-down navigation. You can pick what page should display for each error type. Your options are a default Apache web server page or a page from our system, and custom made pages. Should you pick the abovementioned option, you have to type the link to every page in your account, then save the change. The link or the kind of page that will appear when a user encounters an error can be modified anytime. If you are more experienced, you could use an .htaccess file in order to set in-house developed error pages too, rather than using our integrated generator software tool, and in case you select this option, the file has to be positioned in the root directory of a specific domain or subdomain.