If you have browsed loads of Internet sites, you've probably encountered some error message from time to time. An error can take place when the web hosting server can't process a request (Error 400), if you must log in so that you can see some content and you haven't done so (Error 401), if you aren't permitted to access a page (Error 403) or if a link leads to a file that is not on the hosting server (Error 404). Receiving this type of messages can sometimes be irritating because the pages don't have anything in common with the actual website. That’s why some website hosting companies permit you to apply your own error pages which will match the layout of your own site and that could have any content which you want - info why the error has taken place, a suggestion how to proceed or even some funny comment. Such a function shall help you keep the visitor on the website whatever the error or the reason for it.

Custom Error Pages in Shared Hosting

If you purchase a shared hosting from us, you'll be able to set customized error pages for your sites quickly and easily, because this function is a part of all of our plans. The moment you have created the files and uploaded them to your hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the particular domain or subdomain. Inside the pop-up that will show up, you will see drop-down options menus for all four types of errors and for each one of them you could pick an Apache default page, a generic page from our system or a custom made page. Should you select the 3rd 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 set up an .htaccess file inside the domain or subdomain folder and to include a couple of lines of program code in it. If you don't have prior experience or if you are simply unsure how to do this, you could just copy/paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Servers

Including your personal pages for each of the four error types to any web site hosted from a semi-dedicated server account with us will be very basic and won't take more than several mouse clicks. Once you upload the files in your account, you could check out the Hosted Domains section of your Hepsia Control Panel and edit the domains and subdomains listed there through an intuitive interface with drop-down menus. You can choose what page should appear for each error type. The options are a standard Apache server page or a page from our system, and tailor-made pages. If you select the aforementioned option, you have to enter the link to every single page in your account, then save the change. The link or the kind of page which will be shown if a user encounters an error can be changed whenever you want. In case you are more experienced, you may use an .htaccess file in order to set personalized error pages too, as an alternative to using our integrated generator software instrument, and if you select this option, the file must be located inside the root directory of a specific domain or subdomain.