If a certain page on a website does not load for some reason or if a link is not working, the visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the 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 option to set up your own custom-made error pages which shall have the exact same design as your site and which could contain any images or text that you'd like depending on the particular error. There are 4 standard errors that could take place and they involve these particular so-called HTTP status codes - 400, when your world-wide web 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 some page, but you haven't done so yet; 403, if you do not have a permission to see a specific page; and 404, in case a link that you have clicked leads to a file that doesn't exist. In any of these situations, visitors will be able to see your custom made content instead of a generic error page.
Custom Error Pages in Cloud Hosting
You'll be able to set up customized error pages for any of your domains or subdomains. The function is supported by all cloud hosting
solutions which we offer, so when you log in to the Hepsia CP and visit the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that"ll be displayed, you may pick the kind of error page that should appear - a default one from our system, a conventional Apache server page or a custom one. For the aforementioned option, you need to assign the URL to the page, so if you use customized pages, you must upload the files inside your website hosting account first. An alternative way is to use an .htaccess file placed in the domain or subdomain folder with a line for every error type. The correct syntax can be located in our Knowledge Base, to help you use this feature even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Hosting
All our Linux semi-dedicated hosting
support custom made error pages, thus you'll be able to employ this function for each and every domain or subdomain hosted inside your account. All it will take to do this is to navigate to the Hosted Domains section of the Hepsia CP, to click on the Edit button related to the specific domain/subdomain and to input 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 default error page anytime if needed and the change shall take effect at once. Another way to get the same exact result is to place an .htaccess file in the domain or subdomain folder related to the Internet site that you want to change and to type in several lines of code inside it. If you need to try this method, you could copy and paste the necessary code from our Knowledge Base article on custom error pages, so you will not need any programming skills or prior experience.