If a particular page on a website doesn't load for some reason or in case a link is not working, the visitor shall see an error page with some generic message. The page shall 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 made available from some website hosting service providers - the option to set up your own custom error pages that shall have identical design and style as your website and that could contain any images or text you want based on the specific error. There are four popular errors which may occur and they involve these particular so-called HTTP status codes - 400, when your browser sends a bad request to the hosting server and it cannot be processed; 401, if you are supposed to log in to see some page, but you have not done this yet; 403, if you don't have a permission to see a specific page; and 404, in case a link which you have clicked leads to a file that doesn't exist. In each of these situations, visitors will be able to see your custom made content as opposed to a generic error page.

Custom Error Pages in Shared Website Hosting

When you get a Linux shared website hosting from our company, you will be able to set personalized error pages for your websites fast and easy, since this function is part of all of our solutions. As soon as you've created the files and uploaded them to your hosting account, you should check out 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 that will show up, you'll see drop-down menus for all 4 kinds of errors and for each one of them you may select an Apache default page, a generic page from our system or a custom page. If you choose the third option, you should simply input the URL to the file which you have uploaded and save the change. Another way to set custom error pages is to set up an .htaccess file inside the domain or subdomain folder and to include a couple of lines of code in it. If you don't have previous experience or if you are simply unsure how to do this, you can simply copy and paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Hosting

When you host your web sites in a semi-dedicated server account with us, you can set customized error pages for each of them with ease through our in-house developed Hepsia hosting CP. With just a couple of mouse clicks in the Hosted Domains section, you could modify the default setting from a system page to a custom one for each of the four error types. All you must do is provide a link to every single file that you have uploaded before that and then save the change. If required, you shall be able to revert this change whenever you want and in exactly the same way. If you wish, you can use an .htaccess file too. It should be created/uploaded inside the domain or subdomain folder linked to the website whose error pages you would want to alter and the content for such a file can be found in our Help article for this matter.