If a specific page on an Internet site doesn't load for some reason or if a link is not functioning, the website 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 could make the visitor leave the site. A likely solution in this case is a feature offered by some website hosting companies - the ability to set your own customized error pages which will have the exact same style and design as your Internet site and which may contain any images or text that you'd like dependent upon the particular error. There are 4 well-known errors that could occur and they involve these so-called HTTP status codes - 400, when your web browser sends a bad request to the web 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 so yet; 403, if you don't have a permission to view a specific page; and 404, in case a link that you've clicked leads to a file which doesn't exist. In each of these scenarios, visitors shall be able to see your custom content rather than a generic error page.

Custom Error Pages in Shared Hosting

If you obtain a Linux shared hosting from our company, you shall be able to set custom made error pages for your sites easily and quickly, as this function is a part of all our solutions. As soon as you have created the files and uploaded them to your website 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 that will be displayed, you will see drop-down 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 choose the third option, you should simply type the URL to the file which you have uploaded and save the change. Another way to set custom made error pages is to create an .htaccess file in the domain or subdomain folder and to include several lines of program code in it. If you do not have previous experience or if you're just unsure how to do this, you can simply copy/paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Hosting

Incorporating your pages for each of the 4 error types to any website hosted from a semi-dedicated server account with us will be really simple and shall not take more than a few mouse clicks. Once you upload the files inside your account, you could go to the Hosted Domains section of your Hepsia CP and edit any of the domains and subdomains listed there through an intuitive interface with drop-down menus. You can choose what page should display for each error type. Your choices are a default Apache web server page or a page from our system, and tailor-made pages. Should you choose the last option, you must type the link to each and every page in your account, then save the change. The link or the sort of page which appears in case a user encounters an error can be modified anytime. If you are more experienced, you may use an .htaccess file to be able to set personalized error pages as well, as an alternative to using our integrated generator software tool, and should you select this option, the file should be located inside the root directory of a particular domain or subdomain.