Custom Error Pages
Take a plunge into website error pages. Find out when they appear and why you need to create your own custom error pages.
If a particular page on an Internet site doesn't load for some reason or if a link is not working, the site visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the site, that may make the visitor leave your website. A potential solution in cases like this is a function offered by some web hosting providers - the ability to set your own custom-made error pages that will have the same design and style as your website and that can contain any images or text you want dependent upon the particular error. There are 4 well-known errors which can take place and they involve these so-called HTTP status codes - 400, when your Internet browser sends a bad request to the server and it can't be processed; 401, if you're supposed to log in to see a web page, but you have not done so yet; 403, if you don't have a permission to view a specific page; and 404, in case a link which you've clicked leads to a file which does not exist. In all of these cases, visitors will be able to see your customized content rather than a generic error page.
Custom Error Pages in Cloud Web Hosting
When you get a Linux cloud web hosting package from our company, you will be able to set personalized error pages for your sites fast and easy, because this function is part of all our packages. Once you have created the files and uploaded them to your web hosting account, you can go to the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the selected domain or subdomain. Inside the pop-up which will be displayed, you'll see drop-down options menus for all 4 types of errors and for each one of them you could select 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 which you have uploaded then save the change. A different way to set custom made error pages is to create 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 are simply uncertain how to do that, you could just copy and paste the code from our Knowledge Base article on that topic.