If you have checked out lots of websites, you've probably come across some error message once in a while. An error can occur if the web hosting server can't process a request (Error 400), if you need to log in to see some content and you have not done so (Error 401), if you aren't allowed to access a webpage (Error 403) or when a link leads to a file which is not on the web server (Error 404). Getting this kind of messages could often be irritating since the pages have absolutely nothing in common with the actual Internet site. That’s why some hosting service providers allow you to set your own error pages that will match the layout of your own website and that could have any content that you'd like - info why the error has occurred, a suggestion how to proceed or even some funny comment. This sort of feature can help you keep the visitor on the website irrespective of the error or the reason for it.

Custom Error Pages in Cloud Website Hosting

You'll be able to set up personalized error pages for all of your domains or subdomains. The feature is supported by all cloud website hosting solutions which we provide, so after you log in to the Hepsia CP and navigate to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that will show up, you can choose the type of error page which should appear - a default one from our system, a typical Apache server page or a custom one. For the aforementioned option, you need to specify the URL to the page, so when you use customized pages, you need to upload the files inside your hosting account first. An alternative way is to use an .htaccess file placed in the domain or subdomain folder with a line for each error type. The precise syntax can be located in our Knowledge Base, so that you can use this function even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Servers

Incorporating your pages for each of the four error types to any web site hosted inside a semi-dedicated server account with us will be really uncomplicated and won't take more than a few mouse clicks. When you upload the files in your account, you can go to the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there through an intuitive interface with drop-down menus. You can choose what page should show up for each error type. The alternatives are a default Apache server page or a page from our system, and custom made pages. Should you pick the aforementioned option, you have to enter the link to each page in your account, then save the change. The link or the type of page that will be shown when a user encounters an error can be modified anytime. In case you’re more experienced, you can use an .htaccess file to be able to set custom error pages as well, as an alternative to using our integrated generator instrument, and should you choose this option, the file has to be located in the root directory of a specific domain or subdomain.