If a certain page on a site 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 site, which can make the visitor leave your Internet site. A possible solution in cases like this is a function made available from some hosting providers - the option to set your own custom-made error pages which shall have the exact same layout as your Internet site and which may contain any images or text you want depending on the specific error. There are 4 well-known errors which can occur 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, in case you are supposed to log in to see a web page, but you haven't done this yet; 403, if you do not have a permission to view a particular page; and 404, when a link that you have clicked leads to a file which does not exist. In any of these situations, site visitors will be able to see your customized content as opposed to a generic error page.
Custom Error Pages in Cloud Hosting
You'll be able to set up personalized error pages for all of your websites effortlessly if you use any of our cloud hosting plans. This can be done through the Hosted Domains section of the Hepsia Control Panel, offered with all accounts and when you go there, you could set your customized pages independently for any domain or subdomain. You should upload the files to your account beforehand and enter the links to them during the process. This feature may be de-activated at any time and the options you'll be able to pick from are a generic page from our system or a default Apache server page. Custom made error pages could be set with an .htaccess file too. The file should be put into the domain or subdomain folder and it should contain some system code and links to the pages. If you aren't tech-savvy, you may copy the entire content necessary for the file from our Help section.
Custom Error Pages in Semi-dedicated Servers
Adding 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 couple of mouse clicks. Once you upload the files to your account, you could check out 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 menus. You could select what page should show up for every error type. Your choices are a default Apache web server page or a page from our system, and tailor-made pages. In case you select the aforementioned option, you must enter the link to each and every page in your account, then save the change. The link or the sort of page that will appear in case a user encounters an error can be changed at any time. If you're more experienced, you can use an .htaccess file to be able to set in-house made error pages as well, instead of using our integrated generator tool, and if you pick this option, the file has to be positioned in the root directory of a specific domain or subdomain.