If a specific page on an Internet site does not load for some reason or if a link is not working, the visitor will see an error page with some generic message. The page will have nothing in common with the rest of the website, which can make the visitor leave your site. A potential solution in cases like this is a feature offered by some hosting service providers - the ability to set your own custom-made error pages that shall have identical style and design as your website and which could contain any images or text that you'd like dependent upon the particular error. There are 4 common errors which can take place and they involve these particular so-called HTTP status codes - 400, when your browser sends a bad request to the server and it cannot be processed; 401, if you are supposed to log in to see a page, but you have not done so yet; 403, if you don't have a permission to see a specific page; and 404, if a link which you have clicked leads to a file which does not exist. In any of these situations, website visitors shall be able to see your customized content as opposed to a generic error page.
Custom Error Pages in Shared Hosting
The custom made error pages feature is provided with each and every shared hosting package which we offer and you shall be able to swap all of the generic pages with your own with no more than a few mouse clicks from your Hepsia website hosting Control Panel. You will have to create the actual files and to upload them to your account, then to set them for a given domain or subdomain from the Hosted Domains section of the Hepsia Control Panel. You may do this for every web site hosted inside the account separately, so that every group of customized pages shall have the exact same layout as the site it is part of. If needed, you could always revert back to a default page from our system or to the default Apache server page. One other way to set customized error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you have never done this before, you could simply copy the necessary code from our Help article about the subject.
Custom Error Pages in Semi-dedicated Hosting
Incorporating your personal pages for each of the four error types to any Internet site hosted inside a semi-dedicated server account with us will be very basic and shall not take more than a couple of mouse clicks. As soon as you upload the files in your account, you could go to the Hosted Domains section of your Hepsia Control Panel and edit the domains and subdomains listed there through an intuitive interface with drop-down menus. You may pick what page should display for every single error type. Your choices are a default Apache web server page or a page from our system, and customized pages. In case you choose the aforementioned option, you must type in the link to every single page inside your account, then save the change. The link or the sort of page that shows up when a user encounters an error can be changed anytime. In case you are more experienced, you may use an .htaccess file in order to set personalized error pages too, rather than using our integrated generator software tool, and in case you choose this option, the file should be located inside the root directory of a particular domain or subdomain.