If you have browsed lots of websites, you have probably come across some error message now and again. An error may occur when the web hosting server cannot process a request (Error 400), if you have to log in to see some content and you haven't done so (Error 401), if you are not permitted to access some page (Error 403) or if a link leads to a file that is not on the hosting server (Error 404). Encountering this type of messages could sometimes be annoying as the pages don't have anything in common with the actual Internet site. That’s why some hosting service providers permit you to apply your own error pages that will match the layout of your own Internet site and which could have any content which you want - information why the error has occurred, a suggestion how to proceed or even some amusing comment. This sort of feature can help you keep the visitor on the website irrespective of the error and the reason for it.

Custom Error Pages in Shared Hosting

You can set up custom error pages for each of your domains or subdomains. The function is supported by all shared hosting solutions that we offer, so once you log in to your Hepsia Control Panel and navigate to the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that"ll show up, you may choose the type of error page which should appear - a default one from our system, a standard Apache web server page or a personalized one. For the aforementioned option, you must specify the URL to the page, so when you use custom pages, you should upload the files inside your Internet hosting account first. One other way is to use an .htaccess file located in the domain or subdomain folder with a line for every error type. The correct syntax can be located in our Knowledge Base, so you can use this function even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

All our semi-dedicated servers support custom error pages, so you'll be able to employ this function for each and every domain or subdomain hosted in your account. All it will take to do that is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button linked to the given domain/subdomain and then to type in the link to the custom file. You can do this independently for every error type. You will be able to switch back to a default error page at any time if needed and the change shall take effect at once. A different way to get the same exact result is to set an .htaccess file inside the domain or subdomain folder associated with the website which you would like to modify and to input a couple of lines of code inside it. If you want to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, therefore you won't need any coding skills or prior experience.