If a particular page on a site does not load for some reason or in case a link is not functioning, the visitor will see an error page with some generic message. The page will have nothing in common with the rest of the Internet site, that could make the visitor leave your site. A solution in cases like this is a function made available from some website hosting providers - the option to set your own personalized error pages that shall have identical design as your site and which could contain any text or images that you would like based on the specific error. There are 4 common errors which can occur and they involve these so-called HTTP status codes - 400, when your Internet browser sends a bad request to the server and it cannot be processed; 401, if you're supposed to log in to see some page, but you have not done so yet; 403, if you don't have an authorization to view a particular page; and 404, if a link which you have clicked leads to a file that does not exist. In any of these situations, visitors will be able to see your custom content as opposed to a generic error page.

Custom Error Pages in Shared Web Hosting

If you acquire a Linux shared web hosting service from us, you will be able to set personalized error pages for your websites easily, since this feature is part of all our solutions. The moment you have created the files and uploaded them to your web hosting account, you should 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 which will be displayed, you shall see drop-down menus for all four sorts of errors and for each one of them you may pick an Apache default page, a generic page from our system or a customized page. In case you choose the third option, you should simply input the URL to the file you have uploaded then save the change. One other way to set customized error pages is to set up an .htaccess file inside the domain or subdomain folder and to include a few lines of program code in it. If you don't have previous experience or if you are simply not sure how to do that, you could simply copy and paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Servers

All our semi-dedicated servers support custom 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 navigate to the Hosted Domains section of the Hepsia CP, to click on the Edit button linked to the given domain/subdomain and then to input the link to the custom file. You can do this separately for every error type. You'll be able to switch back to a generic error page at any time if necessary and the change will take effect at once. Another way to achieve the exact same result is to put an .htaccess file in the domain or subdomain folder of the Internet site which you want to modify and to type in several lines of program code inside it. If you would like to try this method, you may copy and paste the required code from our Knowledge Base article on custom error pages, which means that you won't need any coding skills or previous experience.