If you have browsed many sites, you've probably encountered some error message once in a while. An error can take place if the website hosting server cannot process a request (Error 400), if you need to 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 which is not on the hosting server (Error 404). Getting this kind of messages can sometimes be irritating since the pages have absolutely nothing in common with the actual website. That’s why some web hosting providers allow you to set your own error pages which will match the style of your own website and which may have any content that you'd like - details why the error has occurred, a suggestion what you can do or even some amusing remark. Such a feature shall help you keep the visitor on the site no matter the error or the reason for it.
Custom Error Pages in Cloud Hosting
When you get a cloud hosting
from our company, you'll be able to set personalized error pages for your Internet sites easily, because this function is a part of all our packages. As soon as you've created the files and uploaded them to your hosting account, you can go to the Hosted Domains section of your Hepsia CP and click on the Edit button for the selected domain or subdomain. Inside the pop-up which will appear, you shall see drop-down options menus for all 4 types of errors and for each one of them you could pick an Apache default page, a generic page from our system or a personalized page. In case you choose the third option, you should only input the URL to the file you have uploaded then save the change. A different way to set custom error pages is to set up an .htaccess file in the domain or subdomain folder and to add several lines of program code in it. If you don't have prior experience or if you are just unsure how to do this, you may just copy and paste the code from our Knowledge Base article on that matter.
Custom Error Pages in Semi-dedicated Servers
All of the Linux semi-dedicated hosting service
that we offer support custom made error pages and it shall not take more than a couple of mouse clicks from your Hepsia web hosting Control Panel to use this feature. The option is available in the Hosted Domains section of your Control Panel where you will have to enter the links to the custom-made files via basic drop-down menus and a time and effort saving interface. Keep in mind, you must upload them to your account before that. If you do not need to use this function at some point, you can easily deactivate it just as fast and select an Apache server page or a default page from our system to be shown if your visitors encounter an error. If you'd prefer, you may also use an .htaccess file to allow the custom error pages. The file should have a particular line of code plus a link for every error type and you can discover an example of the whole content for all four error types in our Help section.