If a particular page on a website does not load for some reason or if a link is not working, the visitor will see an error page with some generic message. The page will have nothing in common with the rest of the website, that may make the visitor leave your website. A likely solution in cases like this is a function offered by some website hosting companies - the ability to set up your own personalized error pages that shall have identical design as your site and that could contain any text or images which you want based on the specific error. There are 4 standard errors that could occur and they involve these particular so-called HTTP status codes - 400, when your browser sends a bad request to the hosting server and it can't be processed; 401, if you're supposed to log in to see a webpage, but you have not done this yet; 403, if you don't have an authorization to see a certain page; and 404, when a link that you have clicked leads to a file which does not exist. In each of these cases, site visitors will be able to see your custom content as opposed to a generic error page.
Custom Error Pages in Cloud Website Hosting
When you get a cloud website hosting plan from our company, you will be able to set custom error pages for your Internet sites fast and easy, since this feature is part of all of our solutions. The moment you've created the files and uploaded them to your hosting account, you should check out 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 appear, you shall see drop-down options menus for all 4 types of errors and for each of them you can select an Apache default page, a generic page from our system or a custom page. In case you select the 3rd option, you should simply type the URL to the file that you've uploaded then save the change. One other way to set personalized error pages is to create an .htaccess file in the domain or subdomain folder and to add several lines of program code in it. If you do not have previous experience or if you are simply uncertain how to do that, you can simply copy/paste the code from our Knowledge Base article on that subject.
Custom Error Pages in Semi-dedicated Servers
Including your personal pages for each of the 4 error types to any Internet site hosted through a semi-dedicated server account with us shall be very easy and will not take more than a couple of mouse clicks. After you upload the files to your account, you can navigate to the Hosted Domains section of your Hepsia Control Panel and edit each of the domains and subdomains listed there via an intuitive interface with drop-down menus. You may select what page should show up for every error type. Your options are a default Apache web server page or a page from our system, and personalized pages. Should you choose the last option, you must type the link to each and every page in your account, then save the change. The link or the kind of page that appears when a user encounters an error can be modified anytime. In case you’re more experienced, you can use an .htaccess file to be able to set customized error pages too, instead of using our integrated generator instrument, and should you select this option, the file needs to be located inside the root directory of a specific domain or subdomain.