If a certain page on an Internet site doesn't load for some reason or if a link is broken, the site visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the Internet site, that could make the visitor leave your Internet site. A solution in this case is a function offered by some website hosting providers - the ability to set up your own customized error pages which will have the same layout as your Internet site and that can contain any text or images that you would like based on the specific error. There are 4 common errors that could take place and they involve these particular so-called HTTP status codes - 400, when your Internet 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 page, but you haven't done this yet; 403, if you do not have a permission to see a specific page; and 404, if a link that you have clicked leads to a file that doesn't exist. In each of these scenarios, site visitors shall be able to see your customized content instead of a generic error page.

Custom Error Pages in Shared Hosting

When you obtain a shared hosting from us, you shall be able to set customized error pages for your websites quickly and easily, because this feature is part of all of our solutions. The moment you've created the files and uploaded them to your web hosting account, you can go to the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the particular domain or subdomain. Inside the pop-up which will appear, you will see drop-down menus for all 4 kinds of errors and for each of them you may choose an Apache default page, a generic page from our system or a personalized page. In case you choose the 3rd option, you should just enter the URL to the file that you've uploaded and save the change. One other way to set custom made error pages is to create an .htaccess file inside the domain or subdomain folder and to include a couple of lines of program code in it. In case you don't have prior experience or if you're just unsure how to do that, you can simply copy and paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Hosting

Incorporating your personal pages for each of the four error types to any site hosted through a semi-dedicated server account with us will be very basic and won't take more than several clicks. After you upload the files to your account, you could go to the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there through an intuitive interface with drop-down navigation. You may pick what page should appear for each error type. The choices are a standard Apache web server page or a page from our system, and custom pages. Should you select the aforementioned option, you have to enter 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 whenever you want. In case you’re more experienced, you can use an .htaccess file to be able to set custom error pages as well, instead of using our integrated generator software instrument, and if you select this option, the file has to be placed in the root directory of a particular domain or subdomain.