Custom Error Pages
Understand what a Custom Error Page is, what role does it serve and the way to create one.
If you have checked out lots of sites, you've probably encountered some error message once in a while. An error could take place if the server can't process a request (Error 400), if you have to log in to see some content and you haven't done so (Error 401), if you are not able to access some webpage (Error 403) or if a link leads to a file that isn't on the website hosting server (Error 404). Receiving this kind of messages could sometimes be annoying since the pages have nothing in common with the actual Internet site. That’s why some web hosting companies allow you to apply your own error pages that will match the design of your own website and which could have any content that you'd like - details why the error has occurred, a suggestion how to proceed or even some witty remark. This sort of feature will help you keep the visitor on the website regardless of the error and the reason for it.
Custom Error Pages in Hosting
When you buy a Linux hosting package
from us, you'll be able to set customized error pages for your sites easily and quickly, as this feature is a part of all our solutions. After you have created the files and uploaded them to your web 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 show up, you'll see drop-down options menus for all four kinds of errors and for each one of them you may select an Apache default page, a generic page from our system or a custom page. If you select the 3rd option, you should only type the URL to the file that you have uploaded then save the change. A different way to set personalized error pages is to set up an .htaccess file in the domain or subdomain folder and to add a couple of lines of code in it. In case you don't have previous experience or if you're just not sure how to do this, you could simply copy and paste the code from our Knowledge Base article on that matter.
Custom Error Pages in Semi-dedicated Hosting
All of the Linux semi-dedicated packages
which we supply support personalized error pages and it shall not take more than a few clicks in your Hepsia website hosting Control Panel to use this function. The option is included in the Hosted Domains section of your Control Panel in which you will need to input the links to the custom-made files through simple drop-down menus and a time and effort saving interface. Needless to say, you must upload them inside your account before that. If you do not need to employ this feature at some point, you will be able to deactivate it just as quickly and select an Apache server page or a default page from our system to be viewable if your visitors encounter an error. If you'd prefer, you can also use an .htaccess file to enable the personalized error pages. The file needs to have a specific line of code as well as a link for every single error type and you may discover an example of the entire content for all four error types in our Help section.