If you have browsed loads of sites, you've probably come across some error message every now and then. An error can take place if the server cannot process a request (Error 400), if you must log in in order to see some content and you haven't done so (Error 401), if you aren't able to access some webpage (Error 403) or when a link leads to a file which is not on the website hosting server (Error 404). Getting this kind of messages can often be frustrating as the pages don't have anything in common with the actual website. That’s why some website hosting service providers allow you to use your own error pages which will match the layout of your own Internet site and that may have any content that you would like - information why the error has occurred, a suggestion how to handle it or even some humorous remark. This kind of function can help you keep the visitor on the site no matter the error or the reason for it.

Custom Error Pages in Cloud Website Hosting

You will be able to set up personalized error pages for any of your domains or subdomains. The feature is supported by all cloud website hosting package which we provide, so when you log in to your Hepsia Control Panel and go to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that"ll be displayed, you could pick the sort of error page which should show up - a default one from our system, a standard Apache server page or a custom one. For the last mentioned option, you have to specify the URL to the page, so when you use custom made pages, you must upload the files inside your hosting account first. Another way is to use an .htaccess file located in the domain or subdomain folder with a line for each and every error type. The actual 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 Servers

Our semi-dedicated servers support tailor-made error pages, so you'll be able to use this feature for every single 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 the Edit button associated with the given domain/subdomain and then to type in the link to the custom-made file. You are able to do this independently for each and every error type. You shall be able to switch back to a generic error page anytime if required and the change will take effect right away. A different way to get the same exact result is to set an .htaccess file in the domain or subdomain folder related to the website that you want to edit and to type in a couple of lines of code within it. If you would like to try this method, you could copy and paste the needed code from our Knowledge Base article on custom error pages, hence you will not need any computer programming skills or prior experience.