Custom Error Pages
Discover more about web site error pages, when they show up and why you ought to use customized error pages.
If a particular page on an Internet site doesn't load for some reason or in case a link is not working, the site visitor shall see an error page with a generic message. The page shall 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 feature made available from some hosting service providers - the ability to set up your own customized error pages that will have identical design as your Internet site and that may contain any images or text you want depending on the specific error. There are 4 standard errors that can take place 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, if you are supposed to log in to see a web page, but you haven't done so yet; 403, if you do not have an authorization to see a certain page; and 404, when a link which you have clicked leads to a file which doesn't exist. In each of these cases, website visitors will be able to see your custom made content rather than a generic error page.
Custom Error Pages in Shared Website Hosting
You will be able to set up customized error pages for each of your sites easily when you use any of our Linux shared website hosting
. This can easily be done through the Hosted Domains section of the Hepsia Control Panel, which comes with all accounts and once you go there, you could set your custom made pages independently for any domain or subdomain. You must upload the files to your account ahead of time and enter the links to them during the process. This function can be de-activated at any time and the options you'll be able to choose from are a standard page from our system or a default Apache server page. Customized error pages could be set with an .htaccess file too. The file should be put in the domain or subdomain folder and it should incorporate some system code and links to the pages. If you aren't tech-savvy, you could copy the entire content necessary for the file from our Help section.
Custom Error Pages in Semi-dedicated Hosting
All our Linux semi-dedicated hosting
support personalized error pages, so you'll be able to employ this function for each domain or subdomain hosted in your account. All it will take to do this is to visit the Hosted Domains section of the Hepsia CP, to click on the Edit button related to the particular domain/subdomain and then to enter the link to the custom file. You could do this independently for each error type. You'll be able to switch back to a generic error page at any time if required and the change will take effect right away. A different way to achieve the very same result is to set an .htaccess file inside the domain or subdomain folder of the web site which you want to edit and to enter a couple of lines of program code within it. If you would like to try this method, you may copy and paste the needed code from our Knowledge Base article on custom error pages, hence you shall not need any programming skills or previous experience.