If you have browsed lots of sites, you have probably come across some error message now and again. An error may occur if the server can't process a request (Error 400), if you need to log in to see some content and you haven't done so (Error 401), if you aren't permitted to access some webpage (Error 403) or if a link leads to a file that is not on the hosting server (Error 404). Receiving this kind of messages can sometimes be irritating as the pages don't have anything in common with the actual Internet site. That’s why some hosting providers permit you to set your own error pages that'll match the design of your own Internet site and which may have any content that you would like - details why the error has appeared, a suggestion what you can do or even some amusing comment. This kind of function can help you keep the visitor on the website no matter the error and the reason for it.
Custom Error Pages in Shared Hosting
You will be able to set up personalized error pages for each of your domains or subdomains. The feature is supported by all shared hosting solutions that we provide, so after you log in to the Hepsia CP and go to the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that will show up, you could choose the type of error page which should appear - a default one from our system, a standard Apache server page or a custom one. For the latter alternative, you need to assign the URL to the page, so when you use customized pages, you have to upload the files in your website hosting account first. Another way is to use an .htaccess file positioned in the domain or subdomain folder with a line for each error type. The correct syntax can be located in our Knowledge Base, to help you use this feature even if you don't have any previous experience.
Custom Error Pages in Semi-dedicated Servers
All of our semi-dedicated servers support custom error pages, so you'll be able to employ this feature for each domain or subdomain hosted in your account. All it takes to do this is to go to the Hosted Domains section of the Hepsia Control Panel, to click the Edit button linked to the given domain/subdomain and to type the link to the custom-made file. You could do this independently for every error type. You will be able to switch back to a generic error page whenever you want if needed and the change shall take effect instantly. Another way to get the same result is to place an .htaccess file in the domain or subdomain folder of the Internet site which you would like to change and to enter a couple of lines of 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, which means that you will not need any coding skills or prior experience.