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

Custom Error Pages in Shared Website Hosting

The customized error pages function is provided with every single shared website hosting plan that we offer and you will be able to substitute all generic pages with your own with no more than a few clicks inside your Hepsia hosting Control Panel. You'll need to produce the actual files and to upload them to your account, then to set them for a specific domain or subdomain using the Hosted Domains section of the Hepsia CP. You can do this for each and every website hosted in the account individually, so that each set of personalized pages will have identical design as the Internet site it is part of. When necessary, you may always return back to a default page from our system or to a default Apache server page. An alternate way to set customized error pages is to create an .htaccess file inside the domain/subdomain root folder and to include a few lines in it. If you haven't done this before, you can simply copy the necessary program code from our Help article on the subject.

Custom Error Pages in Semi-dedicated Servers

Including your personal pages for any of the 4 error types to any website hosted from a semi-dedicated server account with us will be really simple and won't take more than several mouse clicks. After you upload the files in your account, you can check out the Hosted Domains section of your Hepsia Control Panel and edit the domains and subdomains listed there through an intuitive interface with drop-down navigation. You may choose what page should appear for each and every error type. The options are a default Apache server page or a page from our system, and personalized pages. Should you pick the aforementioned option, you have to input the link to each and every page in your account, then save the change. The link or the sort of page which shows up when a user encounters an error can be changed at any time. If you're more experienced, you may use an .htaccess file so as to set in-house developed error pages too, instead of using our integrated generator instrument, and if you pick this option, the file should be placed inside the root directory of a particular domain or subdomain.