If a specific page on a site doesn't load for some reason or if a link is broken, the visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the Internet site, that could make the visitor leave your website. A likely solution in such a case is a function offered by some web hosting providers - the ability to set up your own customized error pages which will have identical layout as your Internet site and which may contain any images or text you want dependent upon the specific error. There are 4 well-known errors that could take place and they involve these so-called HTTP status codes - 400, when your browser sends a bad request to the server and it cannot be processed; 401, if you're supposed to log in to see a web page, but you have not done so yet; 403, if you do not have a permission to view a specific page; and 404, when a link which you have clicked leads to a file which doesn't exist. In all of these situations, site visitors will be able to see your custom content rather than a generic error page.

Custom Error Pages in Cloud Hosting

When you order a Linux cloud package from us, you will be able to set customized error pages for your websites easily and quickly, as this feature is part of all of our packages. Once you have created the files and uploaded them to your website 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 that will be displayed, you shall see drop-down options menus for all 4 sorts of errors and for each one of them you can choose an Apache default page, a generic page from our system or a custom made page. If you choose the 3rd option, you should just type 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 include a couple of lines of program code in it. If you don't have preceding experience or if you are simply not sure how to do this, you can just copy/paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Hosting

All our Linux semi-dedicated hosting packages support customized error pages, so you'll be able to employ this function for each and every domain or subdomain hosted in your account. All it will take to do that is to check out the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button related to the given domain/subdomain and then to enter the link to the custom-made file. You'll be able to do this individually for each and every error type. You shall be able to switch back to a generic error page whenever you want if necessary and the change will take effect immediately. An alternative way to achieve the same result is to set an .htaccess file in the domain or subdomain folder associated with the Internet site that you want to modify and to type in a couple of lines of code inside it. If you want to try this method, you could copy and paste the required code from our Knowledge Base article on custom error pages, so you won't need any programming skills or previous experience.