If a specific page on a site does not load for some reason or if a link is broken, the site visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the site, that can make the visitor leave your website. A possible solution in such a case is a feature offered by some hosting service providers - the ability to set your own custom-made error pages which will have the same layout as your Internet site and that can contain any text or images you want dependent upon the specific error. There are 4 common errors that can take place and they involve these so-called HTTP status codes - 400, when your Internet browser sends a bad request to the hosting server and it can't be processed; 401, if you're supposed to log in to see a page, but you have not done this yet; 403, if you do not have an authorization to see a specific page; and 404, in case a link that you have clicked leads to a file that does not exist. In each of these scenarios, site visitors shall be able to see your customized content rather than a generic error page.

Custom Error Pages in Cloud Website Hosting

You'll be able to set up personalized error pages for all of your domains or subdomains. The function is supported by all cloud website hosting solutions that we offer, so after you log in to your Hepsia Control Panel and check out 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 that should appear - a default one from our system, a conventional Apache web server page or a custom one. For the aforementioned option, you have to specify the URL to the page, so if you use customized pages, you should upload the files in your hosting account first. Another way is to use an .htaccess file placed in the domain or subdomain folder with a line for every error type. The correct syntax can be located 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 Servers

Incorporating your own pages for any of the four error types to any web site hosted from a semi-dedicated server account with us will be very uncomplicated and won't take more than a few mouse clicks. Once you upload the files in 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 navigation. You may pick what page should display for each error type. The options are a default Apache server page or a page from our system, and tailor-made pages. If you pick the last option, you have to input the link to every single page inside your account, then save the change. The link or the type of page which will appear in case a user encounters an error can be changed whenever you want. If you're more experienced, you can use an .htaccess file so as to set personalized error pages too, rather than using our integrated generator tool, and in case you choose this option, the file must be positioned inside the root directory of a given domain or subdomain.