If a certain page on an Internet site doesn't load for some reason or in case a link is not functioning, the visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the site, which may make the visitor leave the site. A possible solution in this case is a function made available from some web hosting providers - the option to set your own customized error pages that will have the exact same design as your website and that can contain any images or text that you would like dependent upon the specific error. There are four well-known errors which could take place and they involve the following so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the server and it cannot be processed; 401, if you are supposed to log in to see a web page, but you haven't done this yet; 403, if you don't have a permission to view a specific page; and 404, when a link which you have clicked leads to a file that does not exist. In any of these cases, site visitors will be able to see your custom made content as opposed to a generic error page.

Custom Error Pages in Shared Hosting

If you purchase a Linux shared hosting from our company, you'll be able to set custom error pages for your websites easily, since this feature is a part of all our packages. The moment you have created the files and uploaded them to your website hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the specific domain or subdomain. In the pop-up which will be displayed, you will see drop-down options menus for all four types of errors and for each of them you could choose an Apache default page, a generic page from our system or a personalized page. In case you choose the third option, you should simply enter the URL to the file that you've 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 add a few lines of program code in it. In case you don't have previous experience or if you are simply uncertain how to do that, you may just copy/paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Hosting

Our Linux semi-dedicated hosting support personalized error pages, so you shall be able to employ this feature for every single domain or subdomain hosted inside your account. All it takes to do this is to go to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button associated with the specific domain/subdomain and to type the link to the custom-made file. You can do this individually for each error type. You will be able to switch back to a standard error page at any time if necessary and the change will take effect instantly. An alternative way to get the exact same result is to place an .htaccess file in the domain or subdomain folder of the site which you'd like to edit and to input a couple of lines of code within it. If you want to try this method, you can copy and paste the needed code from our Knowledge Base article on custom error pages, thus you shall not need any programming skills or previous experience.