If you have looked at loads of websites, you have probably encountered some error message once in a while. An error may 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 permitted to access some webpage (Error 403) or if a link leads to a file which isn't on the hosting server (Error 404). Receiving this type of messages may sometimes be annoying since the pages don't have anything in common with the actual website. That’s why some web hosting providers permit you to use your own error pages which will match the layout of your own site and which could have any content that you would like - details why the error has taken place, a suggestion what you can do or even some funny comment. This kind of feature shall help you keep the visitor on the website regardless of the error and the reason for it.
Custom Error Pages in Cloud Hosting
If you get a Linux cloud hosting
from our company, you'll be able to set customized error pages for your websites fast and easy, since this function is a part of all of our solutions. After you've 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 selected domain or subdomain. Inside the pop-up that will be displayed, you will see drop-down menus for all four kinds of errors and for each one of them you may choose an Apache default page, a generic page from our system or a customized page. In case you select the third option, you should just type the URL to the file you have uploaded and save the change. A different way to set custom error pages is to create an .htaccess file in the domain or subdomain folder and to include a couple of lines of program code in it. In case you don't have preceding experience or if you're just not sure how to do that, you may just copy and paste the code from our Knowledge Base article on that subject.
Custom Error Pages in Semi-dedicated Servers
Adding your pages for each of the 4 error types to any web site hosted from a semi-dedicated server
account with us shall be very basic and shall not take more than a few clicks. When you upload the files to your account, you can check out the Hosted Domains section of your Hepsia CP and edit each of the domains and subdomains listed there through an intuitive interface with drop-down navigation. You could choose what page should appear for each error type. The alternatives are a standard Apache server page or a page from our system, and tailor-made pages. If you choose the last option, you have to enter the link to each and every page in your account, then save the change. The link or the type of page that will be displayed when a user encounters an error can be changed at any time. If you are more experienced, you can use an .htaccess file so as to set in-house made error pages too, instead of using our integrated generator software tool, and in case you pick this option, the file should be positioned in the root directory of a particular domain or subdomain.