If you have browsed a lot of Internet sites, you have probably come across some error message now and again. An error may take place if the server can't process a request (Error 400), if you need to log in in order to see some content and you haven't done so (Error 401), if you are not permitted to access some webpage (Error 403) or if a link leads to a file which is not on the website hosting server (Error 404). Receiving such messages could sometimes be frustrating because the pages don't have anything in common with the actual site. That’s why some hosting providers permit you to apply your own error pages that'll match the design of your own site and which could have any content which you want - information why the error has occurred, a suggestion how to handle it or even some funny remark. This type of feature shall help you keep the visitor on the site irrespective of the error or the reason for it.
Custom Error Pages in Shared Website Hosting
When you purchase a shared website hosting from our company, you will be able to set customized error pages for your Internet sites quickly and easily, as this function is part of all our plans. After you've 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 which will appear, you will see drop-down menus for all four sorts of errors and for each of them you may choose an Apache default page, a generic page from our system or a custom made page. If you select the third option, you should only input the URL to the file you have uploaded and save the change. One other way to set custom error pages is to set up an .htaccess file inside the domain or subdomain folder and to include a few lines of program code in it. In case you don't have prior experience or if you are simply not sure how to do this, you could simply 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 servers which we provide support tailor-made error pages and it will not take more than several mouse clicks in your Hepsia hosting Control Panel to use this feature. The option can be found in the Hosted Domains section of your CP in which you'll have to type in the links to the custom-made files through very simple drop-down menus and an easy to work with interface. Keep in mind, you must upload them in your account before that. If you don't need to use this feature at some point, you can easily deactivate it just as quickly and pick an Apache server page or a default page from our system to be viewable whenever your visitors encounter an error. If you'd prefer, you may also use an .htaccess file to enable the customized error pages. The file needs to contain a specific line of code as well as a link for each and every error type and you can easily find an example of the entire content for all four error types in our Help section.