If a certain page on an Internet site does not load for some reason or if a link is not functioning, the website 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 could make the visitor leave your website. A potential solution in this case is a function made available from some website hosting companies - the ability to set your own custom error pages which shall have identical design as your website and that may contain any images or text you want dependent upon the particular error. There are 4 standard errors that may take place and they involve the following so-called HTTP status codes - 400, when your Internet browser sends a bad request to the 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 so yet; 403, if you do not have an authorization to see a specific page; and 404, when a link that you've clicked leads to a file which does not exist. In any of these situations, website visitors will be able to see your custom content as opposed to a generic error page.
Custom Error Pages in Cloud Web Hosting
You can set up custom made error pages for each of your sites with ease when you use any of our Linux cloud web hosting packages
. This can be done via the Hosted Domains section of the Hepsia Control Panel, offered with all accounts as soon as you go there, you can set your customized pages independently for any domain or subdomain. You have to upload the files to your account in advance and input the links to them through the process. This function can be de-activated at any time and the options you will be able to select from are a conventional page from our system or a default Apache server page. Tailor-made error pages may be set with an .htaccess file as well. The file should be put in the domain or subdomain folder and it must incorporate some system code and links to the pages. If you aren't tech-savvy, you could copy the whole content required for the file from our Help section.
Custom Error Pages in Semi-dedicated Hosting
Our semi-dedicated hosting
support tailor-made error pages, thus you'll be able to employ this feature for any domain or subdomain hosted inside your account. All it will take to do this is to visit the Hosted Domains section of the Hepsia Control Panel, to click the Edit button related to the specific domain/subdomain and then to type the link to the custom file. You could do this independently for each and every error type. You shall be able to switch back to a standard error page anytime if necessary and the change will take effect right away. A different way to get the exact same result is to place an .htaccess file inside the domain or subdomain folder related to the Internet site which you would like to edit and to enter a couple of lines of program code inside it. If you would like to try this method, you may copy and paste the required code from our Knowledge Base article on custom error pages, which means that you shall not need any programming skills or prior experience.