If a particular page on a site doesn't load for some reason or if a link is not working, the visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the website, that can make the visitor leave your website. A solution in such a case is a feature made available from some website hosting companies - the ability to set your own customized error pages which will have the exact same style and design as your site and which can contain any text or images you want depending on the particular error. There are four well-known errors that could occur and they involve the following 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 some webpage, but you have not done so yet; 403, if you do not have an authorization to view a specific page; and 404, if a link which you've clicked leads to a file that does not exist. In any of these situations, website visitors shall be able to see your personalized content rather than a generic error page.

Custom Error Pages in Hosting

You can set up custom made error pages for any of your domains or subdomains. The function is supported by all hosting plans that we provide, so once you log in to the Hepsia CP and go to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that"ll be displayed, you may pick the type of error page which should show up - a default one from our system, a standard Apache server page or a personalized one. For the last mentioned alternative, you must specify the URL to the page, so if you use custom made pages, you should upload the files in your hosting account first. One other way is to use an .htaccess file placed in the domain or subdomain folder with a line for each and every error type. The correct syntax can be found in our Knowledge Base, to help you use this function even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

Including your pages for any of the 4 error types to any website hosted in a semi-dedicated server account with us will be very simple and won't take more than a couple of mouse clicks. When you upload the files in your account, you can navigate to the Hosted Domains section of your Hepsia Control Panel and edit each of the domains and subdomains listed there using an intuitive interface with drop-down menus. You may choose what page should show up for every error type. The choices are a default Apache server page or a page from our system, and personalized pages. In case you choose the abovementioned option, you must type the link to each page inside your account, then save the change. The link or the sort of page which will appear when a user encounters an error can be changed whenever you want. If you're more experienced, you could use an .htaccess file in order to set tailor-made error pages too, as opposed to using our integrated generator software tool, and in case you select this option, the file needs to be positioned inside the root directory of a particular domain or subdomain.