If a certain page on an Internet site doesn't load for some reason or if a link is not working, the site visitor will see an error page with a generic message. The page will have nothing in common with the rest of the Internet site, that may make the visitor leave the site. A solution in cases like this is a function offered by some hosting providers - the option to set your own personalized error pages which will have the exact same layout as your website and that may contain any images or text that you'd like depending on the particular error. There are four standard errors that could take place and they involve these so-called HTTP status codes - 400, when your browser sends a bad request to the hosting server and it cannot be processed; 401, if you are supposed to log in to see a webpage, but you have not done this yet; 403, if you don't have an authorization to see a certain page; and 404, when a link that you have clicked leads to a file that doesn't exist. In each of these situations, website visitors will be able to see your customized content as opposed to a generic error page.

Custom Error Pages in Hosting

When you get a Linux hosting package from our company, you will be able to set custom made error pages for your sites fast and easy, since this function is a part of all of our plans. The moment you have created the files and uploaded them to your hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the specific domain or subdomain. In the pop-up that will be displayed, you'll see drop-down options menus for all 4 sorts 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. If you pick the 3rd option, you should simply input the URL to the file that you have uploaded then save the change. One other way to set customized error pages is to create an .htaccess file in the domain or subdomain folder and to include a couple of lines of program code in it. If you don't have preceding experience or if you're just uncertain how to do that, you may simply copy/paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Hosting

Including your pages for each of the 4 error types to any website hosted from a semi-dedicated server account with us shall be very easy and will not take more than a couple of mouse clicks. After you upload the files to your account, you could go to the Hosted Domains section of your Hepsia CP and edit each of the domains and subdomains listed there using an intuitive interface with drop-down navigation. You can select what page should appear for each and every error type. Your choices are a default Apache server page or a page from our system, and custom made pages. Should you pick the last option, you need to type the link to each and every page in your account, then save the change. The link or the kind of page which will appear in case a user encounters an error can be modified whenever you want. In case you are more experienced, you can use an .htaccess file in order to set custom made error pages as well, instead of using our integrated generator instrument, and in case you choose this option, the file should be placed in the root directory of a particular domain or subdomain.