If you have browsed lots of sites, you've probably encountered some error message from time to time. An error can occur if the web server cannot process a request (Error 400), if you must log in so as to see some content and you haven't done so (Error 401), if you aren't able to access some page (Error 403) or when a link leads to a file which is not on the website hosting server (Error 404). Receiving this kind of messages could often be irritating since the pages don't have anything in common with the actual Internet site. That’s why some hosting companies permit you to set your own error pages that will match the layout of your own site and that can have any content which you would like - info why the error has occurred, a suggestion what you can do or even some funny remark. Such a feature can help you keep the visitor on the website irrespective of the error or the reason for it.
Custom Error Pages in Website Hosting
If you get a website hosting from us, you'll be able to set custom error pages for your sites easily and quickly, because this feature is a part of all of our solutions. After you have created the files and uploaded them to your web hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the specific domain or subdomain. In the pop-up that will be displayed, you'll see drop-down options menus for all 4 kinds of errors and for each of them you may choose an Apache default page, a generic page from our system or a custom page. In case you pick the 3rd option, you should just input the URL to the file you have uploaded then save the change. A different way to set customized error pages is to create an .htaccess file inside the domain or subdomain folder and to add a few lines of code in it. If you do not have previous experience or if you're simply unsure how to do this, you may just copy and paste the code from our Knowledge Base article on that matter.
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 will be really simple and will not take more than a few mouse clicks. As soon as you upload the files to your account, you could go to the Hosted Domains section of your Hepsia Control Panel and edit each of the domains and subdomains listed there through an intuitive interface with drop-down navigation. You can choose what page should show up for each and every error type. The options are a standard Apache server page or a page from our system, and personalized pages. If you pick the abovementioned option, you must type in the link to each and every page inside your account, then save the change. The link or the kind of page that shows up if a user encounters an error can be changed whenever you want. In case you’re more experienced, you can use an .htaccess file to be able to set customized error pages as well, rather than using our integrated generator software tool, and in case you pick this option, the file must be placed inside the root directory of a given domain or subdomain.