If a particular page on an Internet site doesn't load for some reason or in case a link is broken, the website visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the site, that may make the visitor leave your website. A likely solution in such a case is a feature made available from some hosting service providers - the option to set your own custom error pages that shall have identical layout as your website and which could contain any text or images you want depending on the specific error. There are four popular errors which could take place and they involve these particular so-called HTTP status codes - 400, when your 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 some web page, but you haven't done this yet; 403, if you don't have an authorization to view a certain page; and 404, in case a link which you have clicked leads to a file which does not exist. In any of these cases, website visitors will be able to see your personalized content rather than a generic error page.

Custom Error Pages in Shared Web Hosting

If you obtain a Linux shared web hosting package from our company, you'll be able to set custom made error pages for your websites fast and easy, since this feature is part of all our packages. The moment you have created the files and uploaded them to your hosting account, you can check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the selected domain or subdomain. Inside the pop-up that will appear, you will 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 tailor-made page. In case you choose the third option, you should just enter 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 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 subject.

Custom Error Pages in Semi-dedicated Hosting

Incorporating your personal pages for each of the four error types to any Internet site hosted from a semi-dedicated server account with us shall be very easy and won't take more than several mouse clicks. After you upload the files in your account, you can check out the Hosted Domains section of your Hepsia CP and edit each of the domains and subdomains listed there through an intuitive interface with drop-down menus. You may pick what page should appear for every single error type. The choices are a default Apache server page or a page from our system, and personalized pages. Should you select the aforementioned option, you have to type the link to each page in your account, then save the change. The link or the sort of page that will be displayed if a user encounters an error can be modified whenever you want. If you are more experienced, you can use an .htaccess file to be able to set in-house developed error pages as well, as opposed to using our integrated generator tool, and in case you pick this option, the file needs to be positioned inside the root directory of a specific domain or subdomain.