Custom Error Pages
Learn more about website error pages, precisely when they show up and why you ought to make use of customized error pages.
If a specific page on a website doesn't load for some reason or if a link is not working, the site visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the Internet site, that could make the visitor leave your website. A likely solution in cases like this is a feature made available from some web hosting service providers - the ability to set your own customized error pages which shall have the exact same style and design as your website and which could contain any text or images that you'd like dependent upon the particular error. There are 4 well-known errors which could take place and they involve these particular so-called HTTP status codes - 400, when your browser sends a bad request to the server and it can't be processed; 401, in case you are supposed to log in to see a web page, but you have not done so yet; 403, if you don't have a permission to view a certain page; and 404, if a link that you've clicked leads to a file which doesn't exist. In each of these situations, website visitors shall be able to see your custom content as opposed to a generic error page.
Custom Error Pages in Cloud Web Hosting
The custom made error pages function is offered with every single cloud web hosting
plan we offer and you will be able to swap all generic pages with your own with no more than a couple of mouse clicks in your Hepsia hosting Control Panel. You shall need to create the actual files and to upload them to your account, then to set them for a given domain or subdomain through the Hosted Domains section of the Hepsia Control Panel. You may do this for every site hosted inside the account individually, so that each set of personalized pages shall have identical layout as the Internet site it is part of. If needed, you can always return back to a default page from our system or to a default Apache server page. One other way to set customized error pages is to create an .htaccess file inside the domain/subdomain root folder and to include a few lines in it. If you haven't done this before, you could simply copy the required code from our Help article about the subject.
Custom Error Pages in Semi-dedicated Hosting
All of our Linux semi-dedicated hosting packages
support customized error pages, so you'll be able to use this function for any domain or subdomain hosted inside your account. All it takes to do this is to navigate to the Hosted Domains section of the Hepsia CP, to click the Edit button linked to the given domain/subdomain and then to input the link to the custom file. You are able to do this separately for each and every error type. You shall be able to switch back to a default error page whenever you want if necessary and the change will take effect at once. A different way to get the very same result is to place an .htaccess file inside the domain or subdomain folder of the web site that you'd like to change and to input several lines of code inside it. If you would like to try this method, you can copy and paste the needed code from our Knowledge Base article on custom error pages, which means that you will not need any computer programming skills or prior experience.