Custom Error Pages
Understand what a Custom Error Page is, what function does it have and the way to create one.
If you have browsed lots of sites, you have probably come across some error message from time to time. An error may take place if the website hosting server cannot process a request (Error 400), if you have to log in so as to see some content and you have not done so (Error 401), if you aren't able to access some page (Error 403) or if a link leads to a file which is not on the web server (Error 404). Receiving this sort of messages may sometimes be frustrating because the pages don't have anything in common with the actual website. That’s why some hosting service providers permit you to set your own error pages which will match the design of your own website and that may have any content which you would like - details why the error has taken place, a suggestion how to handle it or even some funny comment. This type of function can help you keep the visitor on the site whatever the error and the reason for it.
Custom Error Pages in Cloud Hosting
If you buy a Linux cloud package
from us, you shall be able to set personalized error pages for your sites easily and quickly, as this feature is part of all of our plans. After you've created the files and uploaded them to your website hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel 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 of them you may select an Apache default page, a generic page from our system or a personalized page. Should you pick the third option, you should only type the URL to the file which 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. In case you don't have preceding 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 topic.
Custom Error Pages in Semi-dedicated Hosting
Our Linux semi-dedicated packages
support personalized error pages, thus you'll be able to use this feature for each domain or subdomain hosted in your account. All it takes to do that is to visit the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button linked to the given domain/subdomain and then to input the link to the custom-made file. You could do this separately for each and every error type. You shall be able to switch back to a generic error page at any time if necessary and the change shall take effect instantly. A different way to achieve the very same result is to set an .htaccess file inside the domain or subdomain folder related to the web site that you'd like to modify and to type in several lines of program code in it. If you need to try this method, you may copy and paste the required code from our Knowledge Base article on custom error pages, therefore you won't need any programming skills or previous experience.