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

Custom Error Pages in Shared Website Hosting

If you obtain a shared website hosting plan from our company, you shall be able to set custom error pages for your sites easily and quickly, since this feature is part of all of our plans. As soon as you've 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 selected domain or subdomain. In the pop-up which will be displayed, you will see drop-down options menus for all four sorts of errors and for each of them you may pick an Apache default page, a generic page from our system or a custom made page. In case you pick the 3rd option, you should just input the URL to the file that you've uploaded then save the change. A different way to set custom error pages is to create an .htaccess file inside the domain or subdomain folder and to add a couple of lines of program code in it. If you don't have preceding experience or if you're just uncertain how to do that, you may just copy and paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Servers

Including your pages for each of the 4 error types to any Internet site hosted in a semi-dedicated server account with us shall be very basic and won't take more than several clicks. As soon as you upload the files inside your account, you can navigate to the Hosted Domains section of your Hepsia Control Panel and edit each of the domains and subdomains listed there via an intuitive interface with drop-down menus. You may pick what page should appear for every error type. Your choices are a standard Apache server page or a page from our system, and customized pages. If you choose the aforementioned option, you have to type in the link to each and every page in your account, then save the change. The link or the type of page that will be displayed in case a user encounters an error can be modified anytime. If you are more experienced, you can use an .htaccess file to be able to set in-house developed error pages too, instead of using our integrated generator instrument, and should you select this option, the file should be positioned in the root directory of a given domain or subdomain.