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

Custom Error Pages in Shared Web Hosting

If you purchase a Linux shared web hosting from us, you shall be able to set custom made error pages for your sites fast and easy, as this feature is part of all of our plans. The moment you have created the files and uploaded them to your web hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the selected domain or subdomain. Inside the pop-up that will show up, you will see drop-down options menus for all 4 sorts of errors and for each one of them you could choose an Apache default page, a generic page from our system or a customized page. Should you choose the third option, you should only enter the URL to the file you have uploaded then save the change. One other way to set customized error pages is to create an .htaccess file inside the domain or subdomain folder and to add a few lines of code in it. If you do not have prior experience or if you are just unsure how to do that, you could simply copy/paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Hosting

Incorporating your personal pages for any of the four error types to any website hosted through a semi-dedicated server account with us will be really simple and will not take more than a couple of clicks. As soon as you upload the files inside your account, you can navigate to the Hosted Domains section of your Hepsia Control Panel and edit the domains and subdomains listed there through an intuitive interface with drop-down menus. You could select what page should display for every error type. The choices are a default Apache server page or a page from our system, and custom pages. In case you choose the last option, you have to type the link to every page inside your account, then save the change. The link or the kind of page that will appear if a user encounters an error can be modified anytime. If you're more experienced, you could use an .htaccess file to be able to set in-house developed error pages too, rather than using our integrated generator tool, and should you choose this option, the file has to be placed inside the root directory of a specific domain or subdomain.