Custom Error Pages
Take a plunge into website error pages. Discover when they show up and why you need to create your own custom error pages.
If a certain page on a site does not load for some reason or in case a link is not working, the site visitor will see an error page with some generic message. The page will have nothing in common with the rest of the website, which could make the visitor leave your Internet site. A likely solution in cases like this is a feature made available from some web hosting service providers - the option to set up your own custom-made error pages which shall have the exact same 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 occur and they involve these particular 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 a webpage, but you haven't done this yet; 403, if you don't have a permission to see a particular page; and 404, if a link that you have clicked leads to a file which does not exist. In any of these cases, site visitors will be able to see your personalized content instead of a generic error page.
Custom Error Pages in Cloud Hosting
If you buy a Linux cloud package from our company, you will be able to set customized error pages for your websites quickly and easily, since this feature is a 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 Control Panel and click on the Edit button for the particular domain or subdomain. In the pop-up that will show up, you shall see drop-down menus for all 4 types of errors and for each one of them you can pick an Apache default page, a generic page from our system or a tailor-made page. If you choose the 3rd option, you should just type the URL to the file that you have uploaded and save the change. One other way to set custom error pages is to set up an .htaccess file inside the domain or subdomain folder and to include a few lines of code in it. If you don't have prior experience or if you are just uncertain how to do this, you could simply copy/paste the code from our Knowledge Base article on that topic.