Custom Error Pages
Find out more about website error pages, precisely when they pop up and why you ought to make use of customized error pages.
If you have checked out a lot of sites, you've probably encountered some error message every now and then. An error can occur when the server can't process a request (Error 400), if you must log in to see some content and you have not done so (Error 401), if you aren't permitted to access some page (Error 403) or if a link leads to a file which is not on the website hosting server (Error 404). Getting this type of messages can often be aggravating because the pages have nothing in common with the actual site. That’s why some website hosting service providers permit you to use your own error pages that will match the layout of your own website and which could have any content which you'd like - details why the error has occurred, a suggestion how to handle it or even some funny comment. This type of function 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 get a
shared website hosting plan from our company, you'll be able to set custom error pages for your websites quickly and easily, because this function is part of all our solutions. After you have 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 which will appear, you will see drop-down menus for all four types of errors and for each of them you may choose an Apache default page, a generic page from our system or a personalized page. Should you pick the third option, you should just input the URL to the file which you have uploaded and save the change. One other way to set custom made error pages is to create an .htaccess file in the domain or subdomain folder and to include a few lines of program code in it. In case you don't have previous experience or if you are simply not sure how to do that, you can just copy and paste the code from our Knowledge Base article on that topic.
-
Custom Error Pages in Semi-dedicated Servers
All of the
semi-dedicated hosting plans that we supply support customized error pages and it will not take more than a couple of mouse clicks inside your Hepsia hosting Control Panel to use this functionality. The option is included in the Hosted Domains section of your CP in which you will have to type in the links to the custom-made files via simple drop-down menus and an easy to use interface. Of course, you have to upload them to your account before that. In case you do not need to employ this function at some point, you can easily deactivate it just as fast and choose an Apache server page or a default page from our system to be viewable if your visitors encounter an error. If you prefer, you could also use an .htaccess file to allow the customized error pages. The file has to contain a specific line of code plus a link for each and every error type and you may discover an example of the entire content for all four error types in our Help section.