If a certain page on an Internet site does not load for some reason or in case a link is broken, the visitor will see an error page with some generic message. The page will have nothing in common with the rest of the website, that can make the visitor leave your website. A possible solution in this case is a function offered by some web hosting providers - the option to set your own custom error pages that will have the same design and style as your website and which can contain any text or images that you'd like depending on the specific error. There are 4 standard errors that may occur and they involve the following so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the hosting server and it cannot be processed; 401, if you are supposed to log in to see a web page, but you haven't done so yet; 403, if you do not have a permission to see a certain page; and 404, when a link which you have clicked leads to a file which does not exist. In each of these situations, website visitors shall be able to see your custom content instead of a generic error page.
Custom Error Pages in Hosting
You shall be able to set up custom error pages for each of your domains or subdomains. The feature is supported by all hosting plans that we offer, so as soon as you log in to the Hepsia CP and navigate to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will be displayed, you could select the sort of error page which should show up - a default one from our system, a standard Apache web server page or a personalized one. For the last mentioned option, you have to specify the URL to the page, so if you use custom made pages, you should upload the files inside your Internet hosting account first. Another way is to use an .htaccess file placed in the domain or subdomain folder with a line for each error type. The actual syntax can be located in our Knowledge Base, to help you use this function even if you don't have any previous experience.
Custom Error Pages in Semi-dedicated Servers
Incorporating your personal pages for any of the 4 error types to any web site hosted from a semi-dedicated server account with us will be really basic and shall not take more than several clicks. Once you upload the files inside your account, you could go to the Hosted Domains section of your Hepsia Control Panel and edit any of the domains and subdomains listed there via an intuitive interface with drop-down menus. You may pick what page should appear for each error type. The options are a standard Apache web server page or a page from our system, and personalized pages. In case you select the aforementioned option, you must enter the link to each and every page inside your account, then save the change. The link or the sort of page that will be shown if a user encounters an error can be changed whenever you want. If you are more experienced, you could use an .htaccess file so as to set custom made error pages too, rather than using our integrated generator software tool, and if you choose this option, the file needs to be placed inside the root directory of a particular domain or subdomain.