If you have checked out a lot of websites, you've probably come across some error message from time to time. An error can take place if the web server cannot process a request (Error 400), if you must log in to see some content and you have not done so (Error 401), if you aren't permitted to access a webpage (Error 403) or if a link leads to a file that isn't on the website hosting server (Error 404). Getting such messages could sometimes be frustrating because the pages have nothing in common with the actual site. That’s why some web hosting companies permit you to use your own error pages that'll match the style of your own website and that could have any content which you want - information why the error has occurred, a suggestion how to proceed or even some witty remark. This kind of function will help you keep the visitor on the website irrespective of the error or the reason for it.

Custom Error Pages in Shared Website Hosting

If you purchase a shared website hosting from us, you will be able to set personalized error pages for your sites fast and easy, as this function is a part of all our plans. After you've created the files and uploaded them to your web hosting account, you can check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the selected domain or subdomain. Inside the pop-up which will be displayed, you will see drop-down options menus for all 4 types of errors and for each of them you can select an Apache default page, a generic page from our system or a customized page. Should you choose the 3rd option, you should simply enter the URL to the file that you've uploaded and save the change. One other way to set custom made error pages is to set up an .htaccess file inside the domain or subdomain folder and to include several lines of code in it. If you don't have prior experience or if you are just unsure how to do this, you could simply copy and paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Servers

Including your pages for each of the four error types to any website hosted in a semi-dedicated server account with us shall be very simple and will not take more than several clicks. As soon as you upload the files in your account, you can navigate to the Hosted Domains section of your Hepsia CP and edit any of the domains and subdomains listed there through an intuitive interface with drop-down navigation. You can select what page should appear for every single error type. Your options are a default Apache server page or a page from our system, and customized pages. If you choose the abovementioned option, you must enter the link to every page inside your account, then save the change. The link or the type of page that will be shown if a user encounters an error can be changed anytime. In case you are more experienced, you could use an .htaccess file to be able to set in-house developed error pages too, instead of using our integrated generator software instrument, and if you choose this option, the file must be placed in the root directory of a particular domain or subdomain.