If you have browsed a lot of sites, you have probably encountered some error message from time to time. An error may occur if the website hosting server can't process a request (Error 400), if you must log in to see some content and you haven't done so (Error 401), if you aren't permitted to access some webpage (Error 403) or when a link leads to a file that is not on the web server (Error 404). Getting this kind of messages could sometimes be annoying since the pages don't have anything in common with the actual Internet site. That’s why some hosting providers permit you to use your own error pages which will match the design of your own website and that may have any content that you'd like - info why the error has occurred, a suggestion how to proceed or even some witty comment. Such a feature shall help you keep the visitor on the website no matter the error and the reason for it.

Custom Error Pages in Cloud Website Hosting

If you obtain a Linux cloud website hosting from our company, you shall be able to set customized error pages for your websites easily, since this function is part of all our packages. Once you've created the files and uploaded them to your web hosting account, you can check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the selected domain or subdomain. Inside the pop-up that will be displayed, you'll see drop-down menus for all four types of errors and for each one of them you may pick an Apache default page, a generic page from our system or a custom made page. If you choose the 3rd option, you should simply input the URL to the file that you've uploaded then save the change. One other way to set custom error pages is to set up an .htaccess file in the domain or subdomain folder and to add a couple of lines of program code in it. If you do not have previous experience or if you are just uncertain how to do this, you may just copy/paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Servers

If you host your websites in a semi-dedicated server account with our company, you'll be able to set custom made error pages for each of them easily using our in-house built Hepsia hosting CP. With just a couple of mouse clicks in the Hosted Domains section, you are able to edit the default setting from a system page to a custom one for each of the 4 error types. All you need to do is provide a link to every single file you have uploaded before that and then save the change. If needed, you shall be able to revert this customization anytime and in exactly the same way. If you wish, you may use an .htaccess file too. It should be created/uploaded within the domain or subdomain folder related to the internet site whose error pages you would want to alter and the content for this type of file can be found in our Help article for this matter.