If a specific page on an Internet site does not load for some reason or if a link is not working, the website visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the website, which could make the visitor leave your site. A likely solution in cases like this is a function offered by some website hosting companies - the ability to set your own customized error pages which shall have the exact same design as your website and which could contain any text or images which you want based on the specific error. There are 4 common errors that can 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 some page, but you haven't done so yet; 403, if you don't have an authorization to view a particular page; and 404, in case a link that you've clicked leads to a file which doesn't exist. In all of these situations, site visitors shall be able to see your personalized content instead of a generic error page.
Custom Error Pages in Cloud Web Hosting
When you acquire a Linux cloud web hosting package
from our company, you'll be able to set customized error pages for your sites quickly and easily, since this function is part of all of our solutions. The moment you have created the files and uploaded them to your hosting account, you can go to the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the particular domain or subdomain. Inside the pop-up which will show up, you will see drop-down menus for all four sorts of errors and for each of them you may pick an Apache default page, a generic page from our system or a custom page. Should you pick the 3rd option, you should just enter the URL to the file that you've uploaded and 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 include several lines of code in it. If you do not have preceding experience or if you are just unsure how to do that, you may just copy/paste the code from our Knowledge Base article on that matter.
Custom Error Pages in Semi-dedicated Hosting
All of the Linux semi-dedicated packages
which we supply support personalized error pages and it will not take more than a few clicks from your Hepsia web hosting Control Panel to use this functionality. The option is included in the Hosted Domains section of your CP in which you will need to type in the links to the custom-made files via simple drop-down menus and an easy to use interface. Of course, you must upload them inside your account before that. In case you do not need to use this function at some point, you will be able to deactivate it just as easily and select an Apache server page or a default page from our system to be shown if your visitors encounter an error. If you'd prefer, you could also use an .htaccess file to enable the custom error pages. The file has to have a particular line of code and a link for every error type and you may find an example of the whole content for all four error types in our Help section.