Custom Error Pages
Get familiar with website error pages. Find out when they appear and why you should set up your individual custom error pages.
If you have checked out a lot of Internet sites, you have probably come across some error message every now and then. An error could take place when the web server cannot process a request (Error 400), if you must log in to see some content and you have not done so (Error 401), if you are not allowed to access some webpage (Error 403) or when a link leads to a file that is not on the web server (Error 404). Receiving this type of messages could sometimes be frustrating because the pages don't have anything in common with the actual site. That’s why some website hosting service providers permit you to apply your own error pages which will match the design of your own Internet site and that can have any content which you would like - information why the error has occurred, a suggestion how to proceed or even some witty remark. Such a feature can help you keep the visitor on the website regardless of the error and the reason for it.
Custom Error Pages in Shared Website Hosting
When you obtain a shared website hosting plan
from our company, you'll be able to set custom error pages for your websites quickly and easily, since this function is a part of all our solutions. The moment you have created the files and uploaded them to your web hosting account, you can check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the selected domain or subdomain. In the pop-up which will be displayed, you'll see drop-down options menus for all four kinds of errors and for each one of them you can choose an Apache default page, a generic page from our system or a personalized page. In case you pick the third option, you should just type the URL to the file which you have uploaded and save the change. A different way to set customized error pages is to create an .htaccess file inside the domain or subdomain folder and to include several lines of program code in it. If you don't have preceding experience or if you're simply uncertain how to do this, you could just copy and paste the code from our Knowledge Base article on that topic.
Custom Error Pages in Semi-dedicated Servers
All our semi-dedicated hosting plans
support custom error pages, thus you'll be able to use this feature for every single domain or subdomain hosted in your account. All it takes to do this is to go to the Hosted Domains section of the Hepsia CP, to click the Edit button linked to the particular domain/subdomain and then to enter the link to the custom-made file. You are able to do this individually for every error type. You shall be able to switch back to a default error page at any time if required and the change will take effect instantly. Another way to achieve the very same result is to set an .htaccess file in the domain or subdomain folder related to the web site which you would like to modify and to enter several lines of code within it. If you would like to try this method, you could copy and paste the required code from our Knowledge Base article on custom error pages, so you will not need any programming skills or prior experience.