If a particular page on a site doesn't load for some reason or if a link is not working, the visitor will see an error page with some generic message. The page will have nothing in common with the rest of the Internet site, that may make the visitor leave your site. A likely solution in this case is a feature made available from some website hosting companies - the ability to set up your own custom-made error pages that will have exactly the 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 popular errors which can take place and they involve these so-called HTTP status codes - 400, when your browser sends a bad request to the web server and it can't be processed; 401, in case you are supposed to log in to see some page, but you haven't done so yet; 403, if you don't have an authorization to view a particular page; and 404, when a link that you've clicked leads to a file that doesn't exist. In any of these cases, site visitors will be able to see your custom content as opposed to a generic error page.

Custom Error Pages in Shared Hosting

You shall be able to set up custom error pages for any of your domains or subdomains. The feature is supported by all shared hosting package that we provide, so after you log in to the Hepsia Control Panel and go to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that"ll be displayed, you may choose the type of error page which should appear - a default one from our system, a conventional Apache server page or a personalized one. For the aforementioned alternative, you must specify the URL to the page, so when you use custom pages, you need to upload the files in your hosting account first. An alternative 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 found in our Knowledge Base, so that you can use this feature even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

Adding your personal pages for each of the 4 error types to any site hosted in a semi-dedicated server account with us will be very uncomplicated and shall not take more than several clicks. Once you upload the files in your account, you could go 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 may select what page should appear for every error type. The choices are a standard Apache web server page or a page from our system, and custom pages. In case you pick the aforementioned option, you need to enter the link to each page in your account, then save the change. The link or the sort of page that will appear if a user encounters an error can be modified anytime. In case you’re more experienced, you can use an .htaccess file in order to set customized error pages too, as an alternative to using our integrated generator software instrument, and if you pick this option, the file has to be located inside the root directory of a given domain or subdomain.