If a particular page on an Internet site doesn't load for some reason or in case a link is broken, the website visitor will see an error page with some generic message. The page will have nothing in common with the rest of the site, that could make the visitor leave the website. A possible solution in cases like this is a function offered by some website hosting service providers - the ability to set your own custom-made error pages that shall have identical design and style as your Internet site and which may contain any images or text that you would like based on the particular error. There are four popular errors which may take place and they involve the following so-called HTTP status codes - 400, when your Internet 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 some page, but you haven't done so yet; 403, if you don't have a permission to view a particular page; and 404, in case a link which you have clicked leads to a file that doesn't exist. In each of these cases, website visitors will be able to see your personalized content as opposed to a generic error page.
Custom Error Pages in Cloud Website Hosting
If you obtain a cloud website hosting service
from our company, you will be able to set custom made error pages for your sites easily, since this feature is part of all our plans. As soon as you've created the files and uploaded them to your hosting account, you can check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the selected domain or subdomain. In the pop-up that will be displayed, you shall see drop-down menus for all 4 kinds of errors and for each of them you may choose an Apache default page, a generic page from our system or a personalized page. In case you choose the third option, you should just enter the URL to the file you have uploaded then save the change. A different 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. In case you don't have prior experience or if you're just uncertain how to do that, you can just copy/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 4 error types to any Internet site hosted in a semi-dedicated server
account with us will be very uncomplicated and shall not take more than a few clicks. After you upload the files inside your account, you could navigate to the Hosted Domains section of your Hepsia Control Panel and edit any of the domains and subdomains listed there via an intuitive interface with drop-down menus. You could choose what page should show up for each error type. The choices are a default Apache server page or a page from our system, and tailor-made pages. If you choose the last option, you need to input the link to each page inside your account, then save the change. The link or the sort of page which will appear if a user encounters an error can be changed whenever you want. If you are more experienced, you may use an .htaccess file in order to set tailor-made error pages as well, as opposed to using our integrated generator software instrument, and if you choose this option, the file needs to be positioned inside the root directory of a particular domain or subdomain.