If a specific page on a site doesn't load for some reason or in case a link is not working, the site visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the site, which may make the visitor leave the website. A possible solution in cases like this is a function made available from some website hosting companies - the ability to set up your own custom-made error pages which shall have the exact same layout as your Internet site and which may contain any images or text that you would like based on the specific error. There are four standard errors that could occur and they involve these particular so-called HTTP status codes - 400, when your web browser sends a bad request to the server and it cannot be processed; 401, if you are supposed to log in to see some page, but you haven't done so yet; 403, if you do not have an authorization to view a certain page; and 404, in case a link that you have clicked leads to a file that doesn't exist. In any of these cases, site visitors shall be able to see your custom content rather than a generic error page.
Custom Error Pages in Shared Hosting
You'll be able to set up personalized error pages for any of your domains or subdomains. The function is supported by all shared hosting package that we offer, so after you log in to your Hepsia Control Panel and navigate to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that"ll show up, you may pick the type of error page that should appear - a default one from our system, a typical Apache server page or a custom one. For the last mentioned alternative, you will need to assign the URL to the page, so when you use custom made pages, you must upload the files inside your web hosting account first. Another way is to use an .htaccess file located in the domain or subdomain folder with a line for every error type. The correct syntax can be located in our Knowledge Base, so that you can use this function even if you don't have any previous experience.
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 basic and won't take more than a couple of mouse clicks. When you upload the files to your account, you can navigate to the Hosted Domains section of your Hepsia CP and edit each of the domains and subdomains listed there via an intuitive interface with drop-down menus. You could pick what page should show up for every single error type. Your options are a standard Apache server page or a page from our system, and customized pages. In case you choose the last option, you will need to enter the link to each and every page in your account, then save the change. The link or the kind of page which appears in case a user encounters an error can be changed at any time. In case you are more experienced, you may use an .htaccess file so as to set custom made error pages as well, as opposed to using our integrated generator software tool, and should you select this option, the file has to be placed in the root directory of a given domain or subdomain.