If you have browsed many websites, you've probably stumbled upon some error message now and again. An error could take place in case the hosting server cannot process a request (Error 400), if you must log in in order to see some content and you haven't done so (Error 401), if you are not able to access some page (Error 403) or if a link leads to a file which isn't on the web server (Error 404). Receiving this type of messages can often be frustrating as the pages have nothing in common with the actual site. That’s why some hosting service providers allow you to apply your own error pages that will match the layout of your own site and that could have any content which you'd like - info why the error has appeared, a suggestion how to handle it or even some amusing comment. This type of feature will help you keep the visitor on the website irrespective of the error or the reason for it.

Custom Error Pages in Web Hosting

You will be able to set up custom made error pages for any of your domains or subdomains. The feature is supported by all web hosting plans that we offer, so as soon as you log in to the 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 will show up, you may pick the sort of error page that should show up - a default one from our system, a standard Apache web server page or a personalized one. For the latter alternative, you have to specify the URL to the page, so when you use custom pages, you must upload the files inside your web hosting account first. An alternative way is to use an .htaccess file placed in the domain or subdomain folder with a line for every error type. The precise syntax can be found in our Knowledge Base, so that you can use this feature even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

Adding your personal pages for any of the 4 error types to any website hosted through a semi-dedicated server account with us will be really basic and shall not take more than a couple of mouse clicks. After you upload the files to your account, you can navigate to the Hosted Domains section of your Hepsia CP and edit each of the domains and subdomains listed there using an intuitive interface with drop-down menus. You can choose what page should display for every error type. Your options are a standard Apache server page or a page from our system, and customized pages. If you pick the last option, you have to type the link to every page in your account, then save the change. The link or the type of page that will be displayed in case a user encounters an error can be changed whenever you want. In case you’re more experienced, you may use an .htaccess file so as to set custom made error pages too, instead of using our integrated generator tool, and in case you pick this option, the file must be positioned inside the root directory of a given domain or subdomain.