Custom Error Pages
Take a plunge into website error pages. Find out when they appear and why you need to set up your own custom error pages.
If you have checked out loads of websites, you have probably come across some error message once in a while. An error could occur when the hosting server can't process a request (Error 400), if you need to log in so that you can see some content and you have not done so (Error 401), if you are not able to access a webpage (Error 403) or when a link leads to a file that isn't on the server (Error 404). Receiving this kind of messages can often be frustrating as the pages don't have anything in common with the actual website. That’s why some website hosting providers allow you to apply your own error pages which will match the style of your own site and which could have any content which you want - details why the error has taken place, a suggestion how to handle it or even some amusing remark. This sort of feature can help you keep the visitor on the site irrespective of the error and the reason for it.
-
Custom Error Pages in Website Hosting
If you buy a
Linux website hosting from our company, you'll be able to set customized error pages for your websites easily and quickly, since this feature is a part of all our solutions. The moment 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 particular domain or subdomain. In the pop-up that will appear, you shall see drop-down options menus for all 4 kinds of errors and for each one of them you can choose an Apache default page, a generic page from our system or a custom page. In case you choose the 3rd option, you should simply input the URL to the file that you have uploaded then save the change. Another way to set custom error pages is to create an .htaccess file in the domain or subdomain folder and to include a few lines of code in it. In case you don't have preceding experience or if you're simply uncertain how to do that, you can simply copy and paste the code from our Knowledge Base article on that topic.