If a specific page on a site doesn't load for some reason or if a link is not functioning, the visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the website, which can make the visitor leave your Internet site. A possible solution in cases like this is a function offered by some hosting service providers - the ability to set up your own customized error pages which shall have identical design as your site and that may contain any images or text you want based on the particular error. There are four popular errors that can take place and they involve these so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the hosting server and it cannot be processed; 401, in case you are supposed to log in to see some page, but you have not done this yet; 403, if you do not have an authorization to view a specific page; and 404, if a link which you've clicked leads to a file which does not exist. In each of these situations, website visitors will be able to see your customized content rather than a generic error page.
Custom Error Pages in Cloud Website Hosting
If you acquire a Linux cloud website hosting from us, you'll be able to set custom error pages for your sites quickly and easily, since this function is a part of all of our packages. As soon as you've created the files and uploaded them to your website 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. In the pop-up that will be displayed, you'll see drop-down menus for all 4 types of errors and for each one of them you could choose an Apache default page, a generic page from our system or a custom made page. Should you select the third option, you should simply input the URL to the file that you have uploaded and save the change. A different way to set custom made error pages is to set up an .htaccess file in the domain or subdomain folder and to add several lines of program code in it. If you don't have preceding experience or if you're just uncertain how to do this, you can just copy/paste the code from our Knowledge Base article on that subject.
Custom Error Pages in Semi-dedicated Hosting
Incorporating your own pages for any of the 4 error types to any site hosted inside a semi-dedicated server account with us will be very basic and won't take more than a couple of mouse clicks. Once you upload the files inside your account, you could go to the Hosted Domains section of your Hepsia CP and edit each of the domains and subdomains listed there using an intuitive interface with drop-down navigation. You may choose what page should show up for every single error type. The alternatives are a default Apache server page or a page from our system, and personalized pages. In case you choose the abovementioned option, you need to type in the link to every single page in your account, then save the change. The link or the sort of page which shows up when a user encounters an error can be modified whenever you want. In case you are more experienced, you could use an .htaccess file so as to set customized error pages too, as an alternative to using our integrated generator instrument, and should you pick this option, the file has to be positioned in the root directory of a specific domain or subdomain.