If a specific page on a site doesn't load for some reason or if a link is broken, the website visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the website, that may make the visitor leave your site. A possible solution in this case is a function made available from some website hosting service providers - the ability to set up your own custom-made error pages that will have the same design and style as your Internet site and which can contain any text or images that you'd like dependent upon the particular error. There are 4 popular errors that can take place and they involve these particular so-called HTTP status codes - 400, when your web browser sends a bad request to the server and it cannot be processed; 401, if you are supposed to log in to see some web page, but you haven't done so yet; 403, if you do not have an authorization to see a certain page; and 404, in case a link which you have clicked leads to a file that doesn't exist. In any of these cases, website visitors will be able to see your personalized content as opposed to a generic error page.
Custom Error Pages in Cloud Hosting
If you order a Linux cloud hosting package from us, you shall be able to set personalized error pages for your websites quickly and easily, since this function is part of all our packages. After 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. In the pop-up which will appear, you shall see drop-down options menus for all 4 kinds 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. In case you pick the 3rd option, you should only input the URL to the file that you've uploaded and save the change. One other way to set personalized error pages is to set up an .htaccess file in the domain or subdomain folder and to add several lines of code in it. If you do not have prior experience or if you're just unsure how to do that, you can simply copy/paste the code from our Knowledge Base article on that topic.
Custom Error Pages in Semi-dedicated Hosting
When you host your websites in a semi-dedicated server account with us, you could set tailor-made error pages for any of them easily via our in-house developed Hepsia hosting CP. With just a couple of clicks inside the Hosted Domains section, you'll be able to modify the default setting from a system page to a customized one for any of the four error types. All you must do is provide a link to every single file you have uploaded before that and then save the change. If required, you'll be able to revert this customization at any time and in exactly the same way. If you'd like, you could use an .htaccess file as well. It has to be created/uploaded within the domain or subdomain folder associated with the internet site whose error pages you would want to modify and the content for this kind of file can be found in our Help article on this matter.