If you have checked out lots of Internet sites, you have probably encountered some error message from time to time. An error may take place in case the hosting server can't process a request (Error 400), if you need to log in in order to see some content and you have not done so (Error 401), if you are not allowed to access a webpage (Error 403) or when a link leads to a file that isn't on the server (Error 404). Receiving this type of messages can often be frustrating since the pages don't have anything in common with the actual site. That’s why some website hosting providers allow you to set your own error pages that'll match the layout of your own site and that could have any content which you'd like - details why the error has occurred, a suggestion what you can do or even some amusing comment. This kind of function can help you keep the visitor on the website whatever the error and the reason for it.

Custom Error Pages in Cloud Hosting

If you purchase a cloud service from our company, you'll be able to set customized error pages for your websites quickly and easily, because this function is part of all our solutions. The moment you've created the files and uploaded them to your web hosting account, you can check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the selected domain or subdomain. In the pop-up which will appear, you'll see drop-down menus for all four kinds of errors and for each one of them you could select an Apache default page, a generic page from our system or a custom page. In case you select the third option, you should just input the URL to the file you have uploaded then save the change. Another way to set custom made error pages is to create an .htaccess file in the domain or subdomain folder and to include several lines of code in it. If you do not have previous experience or if you are just unsure how to do this, you could just copy/paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Servers

Adding your pages for each of the four error types to any website hosted through a semi-dedicated server account with us shall be very easy and shall not take more than several clicks. After you upload the files inside your account, you could check out the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there through an intuitive interface with drop-down navigation. You may choose what page should appear for each and every error type. The options are a default Apache web server page or a page from our system, and custom made pages. In case you choose the last option, you must enter the link to each and every page inside your account, then save the change. The link or the type of page which shows up if a user encounters an error can be changed anytime. If you're more experienced, you could use an .htaccess file to set in-house developed error pages too, as an alternative to using our integrated generator instrument, and in case you choose this option, the file must be located inside the root directory of a particular domain or subdomain.