If a certain page on a website 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 will have nothing in common with the rest of the Internet site, which may make the visitor leave your Internet site. A likely solution in this case is a feature offered by some website hosting service providers - the ability to set up your own customized error pages which shall have the same design as your website and that could contain any text or images which you want dependent upon the particular error. There are 4 standard errors that may take place and they involve these so-called HTTP status codes - 400, when your browser sends a bad request to the hosting server and it can't be processed; 401, in case you are supposed to log in to see a web page, but you haven't done so yet; 403, if you do not 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 any of these cases, site visitors shall be able to see your customized content as opposed to a generic error page.

Custom Error Pages in Cloud Website Hosting

If you buy a Linux cloud website hosting package from our company, you will be able to set custom error pages for your Internet sites easily, as this function is a part of all our solutions. After you've created the files and uploaded them to your hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. In the pop-up which will be displayed, you'll see drop-down menus for all four types of errors and for each of them you may 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 just enter the URL to the file that you have uploaded then save the change. A different way to set personalized error pages is to create an .htaccess file in the domain or subdomain folder and to include a couple of lines of code in it. If you don't have prior experience or if you're simply uncertain how to do that, you may just copy and paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Hosting

If you host your sites in a semi-dedicated server account from us, you could set tailor-made error pages for each of them with ease using our in-house built Hepsia hosting CP. With just several mouse clicks in the Hosted Domains section, you could edit the default setting from a system page to a custom made one for each of the four error types. All you must do is provide a link to each file that you have uploaded before that and then save the change. If necessary, you'll be able to revert this modification anytime and in exactly the same way. If you would like, you can use an .htaccess file as well. It has to be created/uploaded within the domain or subdomain folder related to the internet site whose error pages you would want to change and the content for this type of file can be found in our Help article about this matter.