If a specific page on a site does not load for some reason or in case a link is not working, the visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the site, that can make the visitor leave your website. A solution in such a case is a feature offered by some hosting companies - the ability to set up your own custom-made error pages that will have the exact same style and design as your website and that can contain any images or text you want based on the particular error. There are four standard errors which may take place and they involve these so-called HTTP status codes - 400, when your web browser sends a bad request to the web server and it cannot be processed; 401, if you're supposed to log in to see a page, but you haven't done so yet; 403, if you don't have a permission to view a particular page; and 404, if a link which you've clicked leads to a file that does not exist. In each of these scenarios, visitors shall be able to see your personalized content instead of a generic error page.
Custom Error Pages in Cloud Hosting
If you obtain a Linux cloud package from our company, you shall be able to set personalized error pages for your Internet sites fast and easy, as this function is a part of all of our packages. Once you have created the files and uploaded them to your web hosting account, you can check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the selected domain or subdomain. In the pop-up that will appear, you'll see drop-down options menus for all 4 sorts of errors and for each one of them you could pick an Apache default page, a generic page from our system or a personalized page. Should you pick the 3rd option, you should just input the URL to the file you have uploaded and save the change. One other way to set personalized error pages is to set up an .htaccess file in the domain or subdomain folder and to add a few lines of program code in it. If you don't have preceding experience or if you are just not sure how to do this, you could just copy and paste the code from our Knowledge Base article on that subject.
Custom Error Pages in Semi-dedicated Hosting
Incorporating your personal pages for any of the four error types to any site hosted through a semi-dedicated server account with us will be very easy and will not take more than several mouse clicks. Once you upload the files inside your account, you can check out the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there using an intuitive interface with drop-down navigation. You could select what page should appear for every error type. Your options are a standard Apache server page or a page from our system, and personalized pages. In case you choose the last option, you have to input the link to every single page in your account, then save the change. The link or the sort of page which will be shown when a user encounters an error can be changed whenever you want. In case you are more experienced, you may use an .htaccess file so as to set in-house developed error pages too, instead of using our integrated generator software instrument, and should you select this option, the file should be placed inside the root directory of a particular domain or subdomain.