If a particular page on a site doesn't load for some reason or in case a link is not functioning, the site visitor will see an error page with a generic message. The page will have nothing in common with the rest of the site, which could make the visitor leave the site. A potential solution in this case is a feature made available from some website hosting providers - the ability to set up your own personalized error pages that shall have exactly the same layout as your Internet site and that could contain any images or text that you'd like dependent upon the specific error. There are 4 popular errors that can occur and they involve these so-called HTTP status codes - 400, when your Internet browser sends a bad request to the server and it cannot be processed; 401, if you're supposed to log in to see a webpage, but you haven't done so yet; 403, if you do not have an authorization to see a certain page; and 404, when a link which you have clicked leads to a file that doesn't exist. In each of these cases, visitors will be able to see your customized content instead of a generic error page.

Custom Error Pages in Shared Website Hosting

If you get a Linux shared website hosting from our company, you shall be able to set personalized error pages for your websites easily and quickly, as this function is a part of all of our packages. The moment you have 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 particular domain or subdomain. Inside the pop-up that will be displayed, you will see drop-down options menus for all four kinds of errors and for each of them you can pick an Apache default page, a generic page from our system or a customized page. If you choose the third option, you should simply input the URL to the file which you have uploaded then save the change. Another way to set personalized 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. In case you don't have preceding experience or if you're simply not sure how to do this, you may simply copy and paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Hosting

All our Linux semi-dedicated hosting support customized error pages, thus you'll be able to employ this feature for any 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 the Edit button related to the given domain/subdomain and to input the link to the custom-made file. You'll be able to do this individually for every error type. You'll be able to switch back to a default error page at any time if required and the change shall take effect right away. Another way to get the same result is to put an .htaccess file inside the domain or subdomain folder related to the website which you want to edit and to input a few lines of program code in it. If you would like to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, therefore you will not need any coding skills or previous experience.