If you have checked out many websites, you've probably encountered some error message every now and then. An error may take place when the web hosting server cannot process a request (Error 400), if you have to log in so that you can see some content and you haven't done so (Error 401), if you aren't able to access a webpage (Error 403) or if a link leads to a file which is not on the server (Error 404). Getting this kind of messages can often be frustrating because the pages have absolutely nothing in common with the actual website. That’s why some web hosting service providers permit you to apply your own error pages that will match the style of your own website and which may have any content which you want - details why the error has taken place, a suggestion how to proceed or even some amusing comment. This sort of function will help you keep the visitor on the site no matter the error and the reason for it.
Custom Error Pages in Cloud Hosting
If you order a cloud hosting
from our company, you shall be able to set custom made error pages for your websites easily and quickly, as this function is a part of all 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 CP and click on the Edit button for the selected domain or subdomain. In the pop-up that will appear, you shall see drop-down 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. Should you select the third option, you should just input the URL to the file which you have uploaded then save the change. A different way to set custom made error pages is to set up an .htaccess file inside the domain or subdomain folder and to add a few lines of code in it. If you do not have preceding experience or if you're simply uncertain how to do this, you can just copy and paste the code from our Knowledge Base article on that subject.
Custom Error Pages in Semi-dedicated Servers
Incorporating your own pages for each of the 4 error types to any Internet site hosted through a semi-dedicated server
account with us will be very basic and will not take more than a few clicks. After you upload the files to your account, you could go to the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there through an intuitive interface with drop-down menus. You may select what page should display for each error type. Your options are a standard Apache server page or a page from our system, and custom made pages. Should you select the aforementioned option, you will need to input the link to every single page in your account, then save the change. The link or the sort of page which appears if a user encounters an error can be changed anytime. In case you’re more experienced, you could use an .htaccess file in order to set custom made error pages as well, instead of using our integrated generator instrument, and if you choose this option, the file has to be located inside the root directory of a particular domain or subdomain.