If you have browsed lots of websites, you've probably come across some error message every now and then. An error could occur when the server cannot process a request (Error 400), if you must log in so as to see some content and you haven't done so (Error 401), if you are not able to access a webpage (Error 403) or if a link leads to a file which isn't on the web server (Error 404). Receiving this kind of messages may sometimes be annoying because the pages don't have anything in common with the actual site. That’s why some website hosting providers permit you to apply your own error pages that'll match the style of your own website and which could have any content which you want - details why the error has occurred, a suggestion what you can do or even some humorous remark. This sort of feature can help you keep the visitor on the website regardless of the error or the reason for it.

Custom Error Pages in Shared Web Hosting

You'll be able to set up customized error pages for any of your domains or subdomains. The function is supported by all shared web hosting plans which we provide, so when you log in to the Hepsia Control Panel and navigate to 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 could choose the kind of error page which should show up - a default one from our system, a typical Apache web server page or a custom one. For the aforementioned alternative, you need to assign the URL to the page, so when you use personalized pages, you must upload the files inside your website hosting account first. An alternative way is to use an .htaccess file positioned in the domain or subdomain folder with a line for each error type. The precise syntax can be found 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 tailor-made error pages, so you'll be able to use this function for every single domain or subdomain hosted inside your account. All it takes to do this is to visit the Hosted Domains section of the Hepsia CP, to click the Edit button associated with the particular domain/subdomain and to type the link to the custom-made file. You are able to do this separately for every error type. You will be able to switch back to a default error page at any time if needed and the change will take effect immediately. Another way to achieve the same result is to place an .htaccess file inside the domain or subdomain folder of the Internet site that you would like to edit and to type in several lines of code in it. If you'd 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 computer programming skills or previous experience.