If a certain page on an Internet site doesn't load for some reason or if a link is not functioning, the website 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 likely solution in such a case is a feature made available from some hosting providers - the ability to set up your own personalized error pages that shall have the same layout as your website and which may contain any images or text you want dependent upon the particular error. There are four well-known errors which can occur and they involve these particular so-called HTTP status codes - 400, when your web 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 a permission to view a particular page; and 404, in case a link that you have clicked leads to a file that doesn't exist. In all of these scenarios, visitors shall be able to see your custom made content as opposed to a generic error page.
Custom Error Pages in Cloud Hosting
You can set up custom made error pages for any of your sites without difficulty when you use any of our cloud hosting packages
. This can easily be done via the Hosted Domains section of the Hepsia CP, offered with all accounts as soon as you go there, you could set your custom pages independently for any domain or subdomain. You have to upload the files to your account beforehand and enter the links to them during the process. This feature could be de-activated at any time and the options you will be able to select from are a generic page from our system or a default Apache web server page. Custom error pages may be set with an .htaccess file too. The file should be put into the domain or subdomain folder and it should include some system code and links to the pages. If you're not tech-savvy, you could copy the entire content needed for the file from our Help section.
Custom Error Pages in Semi-dedicated Hosting
All our semi-dedicated hosting packages
support customized error pages, so you shall be able to employ this function for every single domain or subdomain hosted in your account. All it takes to do that is to check out the Hosted Domains section of the Hepsia Control Panel, to click the Edit button associated with the particular domain/subdomain and then to type the link to the custom-made file. You can do this independently for each and every error type. You'll be able to switch back to a default error page whenever you want if required and the change will take effect right away. An alternative way to get the exact same result is to set an .htaccess file inside the domain or subdomain folder related to the website which you would like to change and to type in a couple of lines of code inside it. If you would like to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, so you shall not need any computer programming skills or prior experience.