If you have checked out lots of websites, you've probably come across some error message once in a while. An error may take place in case the hosting server cannot process a request (Error 400), if you have to log in so as to see some content and you haven't done so (Error 401), if you aren't able to access a webpage (Error 403) or if a link leads to a file that isn't on the server (Error 404). Getting such messages can sometimes be irritating since the pages don't have anything in common with the actual site. That’s why some hosting companies allow you to use your own error pages that'll match the design of your own website and which could have any content that you would like - details why the error has appeared, a suggestion how to handle it or even some funny comment. This type of feature can help you keep the visitor on the site regardless of the error or the reason for it.
Custom Error Pages in Cloud Website Hosting
You'll be able to set up custom made error pages for all of your domains or subdomains. The feature is supported by all cloud website hosting solutions that we offer, so when you log in to the Hepsia Control Panel and visit the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that"ll show up, you can pick the type of error page which should show up - a default one from our system, a standard Apache server page or a personalized one. For the latter alternative, you must specify the URL to the page, so if you use custom made pages, you need to upload the files in your web hosting account first. One other way is to use an .htaccess file positioned in the domain or subdomain folder with a line for each error type. The actual syntax can be found in our Knowledge Base, so you can use this feature even if you don't have any previous experience.
Custom Error Pages in Semi-dedicated Hosting
All our Linux semi-dedicated packages support tailor-made error pages, so you will be able to use this function for each and every domain or subdomain hosted in your account. All it will take to do that is to check out the Hosted Domains section of the Hepsia Control Panel, to click the Edit button related to the given domain/subdomain and then to type the link to the custom file. You could do this independently for each error type. You will be able to switch back to a generic error page anytime if needed and the change will take effect straightaway. Another way to achieve the exact same result is to place an .htaccess file inside the domain or subdomain folder related to the website which you want to edit and to input a few lines of program code in it. If you'd like to try this method, you can copy and paste the necessary code from our Knowledge Base article on custom error pages, so you shall not need any programming skills or prior experience.