If you have looked at many sites, you've probably come across some error message now and again. An error could occur when the web server cannot process a request (Error 400), if you have to log in to see some content and you have not done so (Error 401), if you are not allowed to access a page (Error 403) or if a link leads to a file which isn't on the hosting server (Error 404). Getting this sort of messages could sometimes be frustrating since the pages have nothing in common with the actual site. That’s why some website hosting service providers allow you to use your own error pages that'll match the layout of your own website and which may have any content that you would like - details why the error has taken place, a suggestion how to handle it or even some funny remark. Such a feature will help you keep the visitor on the website regardless of the error and the reason for it.
Custom Error Pages in Shared Hosting
If you obtain a shared hosting service
from us, you will be able to set custom error pages for your websites easily and quickly, as this function is a part of all of our solutions. After you have created the files and uploaded them to your hosting account, you can go to the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the specific domain or subdomain. In the pop-up which will be displayed, you shall see drop-down menus for all 4 types of errors and for each one of them you may choose an Apache default page, a generic page from our system or a custom page. Should you pick the 3rd option, you should only input the URL to the file which you have uploaded and save the change. One other way to set customized error pages is to set up an .htaccess file inside the domain or subdomain folder and to include a few lines of program code in it. If you don't have preceding experience or if you're simply uncertain how to do that, you could just copy and paste the code from our Knowledge Base article on that topic.
Custom Error Pages in Semi-dedicated Hosting
Adding your 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 couple of clicks. After you upload the files in your account, you could check out the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there via an intuitive interface with drop-down menus. You can choose what page should appear for every single error type. Your options are a standard Apache web server page or a page from our system, and personalized pages. If you select the aforementioned option, you must type the link to every page in your account, then save the change. The link or the kind of page which will appear when a user encounters an error can be changed whenever you want. In case you are more experienced, you could use an .htaccess file so as to set personalized error pages as well, rather than using our integrated generator tool, and if you select this option, the file should be positioned inside the root directory of a given domain or subdomain.