If a particular page on a website does not load for some reason or in case a link is not functioning, the website visitor will see an error page with a generic message. The page will have nothing in common with the rest of the site, that could make the visitor leave the site. A likely solution in cases like this is a function made available from some website hosting providers - the option to set up your own personalized error pages which shall have the same layout as your site and that may contain any images or text which you want depending on the particular error. There are four common errors which could take place and they involve these so-called HTTP status codes - 400, when your browser sends a bad request to the web server and it cannot be processed; 401, in case you are supposed to log in to see some web page, but you have not done this yet; 403, if you do not have a permission to see a particular page; and 404, when a link that you have clicked leads to a file that doesn't exist. In each of these cases, site visitors shall be able to see your custom made content rather than a generic error page.

Custom Error Pages in Cloud Hosting

If you obtain a cloud service from us, you'll be able to set personalized error pages for your Internet sites fast and easy, since this feature is a part of all of our solutions. After you've 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. In the pop-up that will show up, you'll see drop-down options menus for all four sorts of errors and for each of them you could select an Apache default page, a generic page from our system or a tailor-made page. Should you pick the third option, you should only enter the URL to the file which you have uploaded then save the change. A different way to set customized error pages is to create 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 preceding experience or if you're just unsure how to do this, you can just copy and paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Servers

Adding your own pages for any of the 4 error types to any web site hosted from a semi-dedicated server account with us will be really basic and shall not take more than a couple of clicks. After you upload the files in your account, you can check out the Hosted Domains section of your Hepsia Control Panel and edit any of the domains and subdomains listed there through an intuitive interface with drop-down navigation. You may pick what page should show up for every single error type. The alternatives are a default Apache web server page or a page from our system, and personalized pages. If you pick the last option, you have to enter the link to every page in your account, then save the change. The link or the sort of page that will be shown in case a user encounters an error can be modified whenever you want. In case you are more experienced, you could use an .htaccess file to set customized error pages too, instead of using our integrated generator software instrument, and should you pick this option, the file should be located in the root directory of a given domain or subdomain.