If a certain page on an Internet site does not load for some reason or if a link is broken, 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, which may make the visitor leave the site. A solution in this case is a function made available from some hosting service providers - the ability to set up your own custom error pages that will have identical layout as your Internet site and that can contain any images or text which you want depending on the specific error. There are 4 popular errors that 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, 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 an authorization to view a certain page; and 404, when 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 personalized content as opposed to a generic error page.
Custom Error Pages in Cloud Hosting
You can set up personalized error pages for all of your sites effortlessly if you use any of our Linux cloud hosting. This can easily be done through the Hosted Domains part of the Hepsia Control Panel, provided with all accounts and when you go there, you could set your custom pages independently for any domain or subdomain. You need to upload the files to your account ahead of time and enter the links to them during the process. This feature could be de-activated at any time and the options you'll be able to pick from are a standard page from our system or a default Apache web server page. Personalized error pages may be set with an .htaccess file too. The file should be put in the domain or subdomain folder and it must contain some system code and links to the pages. If you're not tech-savvy, you may copy the entire content required for the file from our Help section.
Custom Error Pages in Semi-dedicated Servers
Incorporating your pages for each of the four error types to any Internet site hosted from a semi-dedicated server account with us will be very simple and shall not take more than a few clicks. Once you upload the files inside 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 navigation. You could select what page should show up for every error type. Your options are a standard Apache web server page or a page from our system, and tailor-made pages. If you choose the abovementioned option, you have to type in the link to each and every page in your account, then save the change. The link or the kind of page that shows up if a user encounters an error can be changed anytime. If you are more experienced, you could use an .htaccess file in order to set personalized error pages as well, as an alternative to using our integrated generator instrument, and in case you choose this option, the file has to be positioned inside the root directory of a particular domain or subdomain.