If a specific page on a website does not load for some reason or in case a link is broken, the site visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the site, which may make the visitor leave the website. A likely solution in such a case is a feature made available from some website hosting providers - the option to set up your own custom error pages which will have the same design and style as your Internet site and which can contain any images or text that you'd like dependent upon the particular error. There are 4 popular errors that can take place and they involve these so-called HTTP status codes - 400, when your web browser sends a bad request to the server and it can't be processed; 401, if you are supposed to log in to see a page, but you haven't done this yet; 403, if you do not have a permission to see a certain page; and 404, in case a link which you have clicked leads to a file which doesn't exist. In each of these scenarios, website visitors shall be able to see your personalized content instead of a generic error page.

Custom Error Pages in Shared Hosting

When you order a Linux shared hosting package from us, you shall be able to set personalized error pages for your websites easily and quickly, because this feature is a part of all our plans. Once you've 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 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 may select an Apache default page, a generic page from our system or a personalized page. In case you pick the third option, you should only input the URL to the file that you've uploaded and save the change. Another way to set personalized error pages is to set up an .htaccess file in the domain or subdomain folder and to include a couple of lines of code in it. In case you don't have previous experience or if you are just unsure how to do this, you could simply copy/paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Hosting

All our Linux semi-dedicated packages support personalized error pages, thus you'll be able to use this function for any domain or subdomain hosted in your account. All it will take to do that is to visit the Hosted Domains section of the Hepsia Control Panel, to click the Edit button linked to the particular domain/subdomain and to input the link to the custom-made file. You are able to do this independently for each error type. You shall be able to switch back to a standard error page whenever you want if needed and the change will take effect straightaway. A different way to achieve the exact same result is to place an .htaccess file inside the domain or subdomain folder of the website that you want to edit and to type in several lines of code in it. If you'd like to try this method, you may copy and paste the needed code from our Knowledge Base article on custom error pages, which means that you'll not need any coding skills or prior experience.