If a particular page on a site does not load for some reason or in case 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 site, which can make the visitor leave the website. A solution in this case is a function offered by some web hosting companies - the option to set your own personalized error pages that shall have the exact same design as your Internet site and that can contain any images or text that you would like based on the particular error. There are 4 common errors that could occur and they involve these so-called HTTP status codes - 400, when your web browser sends a bad request to the web server and it can't be processed; 401, if you are supposed to log in to see a web page, but you haven't done so yet; 403, if you do not have a permission to see a specific page; and 404, when a link that you've clicked leads to a file which doesn't exist. In all of these cases, visitors shall be able to see your personalized content rather than a generic error page.
Custom Error Pages in Cloud Website Hosting
When you order a Linux cloud website hosting
from our company, you shall be able to set custom error pages for your sites easily, since this feature is a part of all of our plans. As soon as 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 specific domain or subdomain. In the pop-up which will be displayed, you'll see drop-down options 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 custom made page. If you select the third option, you should only enter the URL to the file that you've uploaded and save the change. A different way to set personalized error pages is to set up an .htaccess file inside the domain or subdomain folder and to include several lines of code in it. In case you don't have previous experience or if you are just not sure how to do this, you could simply copy/paste the code from our Knowledge Base article on that topic.
Custom Error Pages in Semi-dedicated Hosting
All Linux semi-dedicated hosting
which we provide support customized error pages and it shall not take more than a couple of clicks from your Hepsia hosting Control Panel to use this feature. The option is available in the Hosted Domains section of your CP where you'll need to type in the links to the custom-made files using simple drop-down menus and a user-friendly interface. Needless to say, you should upload them in your account before that. In case you do not want to employ this function at some point, you can easily deactivate it just as easily and select an Apache server page or a default page from our system to be shown whenever your visitors encounter an error. If you'd like to, you could also use an .htaccess file to allow the customized error pages. The file has to have a particular line of code and a link for each error type and you can easily find an example of the whole content for all four error types in our Help section.