If a certain page on an Internet site doesn't load for some reason or if a link is broken, 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 website. A likely solution in this case is a function offered by some website hosting service providers - the option to set your own personalized error pages that will have the same design as your site and which may contain any text or images you want based on the particular error. There are four common errors which could take place and they involve these so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the hosting server and it can't be processed; 401, in case you are supposed to log in to see a web page, but you have not done this yet; 403, if you don't have an authorization to view a particular page; and 404, if a link which you have clicked leads to a file that does not exist. In each of these situations, site visitors will be able to see your customized content as opposed to a generic error page.

Custom Error Pages in Shared Hosting

You'll be able to set up customized error pages for each of your domains or subdomains. The feature is supported by all shared hosting solutions that we offer, so once you log in to the Hepsia CP and navigate to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that"ll appear, you can select the sort of error page which should show up - a default one from our system, a standard Apache server page or a customized one. For the latter option, you will need to specify the URL to the page, so when you use custom pages, you have to upload the files inside your website hosting account first. An alternative way is to use an .htaccess file placed inside the domain or subdomain folder with a line for every error type. The precise syntax can be found in our Knowledge Base, so you can use this feature even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Servers

Including your own pages for each of the 4 error types to any web site hosted inside a semi-dedicated server account with us shall be very simple and won't take more than a few clicks. As soon as you upload the files to your account, you could check out 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 menus. You can select what page should appear for every error type. The choices are a default Apache web server page or a page from our system, and custom pages. Should you choose the aforementioned option, you will need to type the link to each and every page in your account, then save the change. The link or the type of page which will be displayed if a user encounters an error can be modified whenever you want. In case you are more experienced, you may use an .htaccess file to set in-house made error pages as well, as opposed to using our integrated generator instrument, and in case you pick this option, the file must be positioned inside the root directory of a specific domain or subdomain.