If a particular page on a website does not load for some reason or if a link is not functioning, the visitor will see an error page with some generic message. The page will have nothing in common with the rest of the site, which could make the visitor leave the site. A possible solution in cases like this is a feature made available from some hosting companies - the ability to set up your own custom-made error pages that will have the exact same design as your Internet site and that may contain any text or images that you would like based on the particular error. There are 4 well-known errors which may take place and they involve these particular so-called HTTP status codes - 400, when your web browser sends a bad request to the server and it can't be processed; 401, if you're 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 specific page; and 404, if a link which you've clicked leads to a file that does not exist. In all of these cases, site visitors will be able to see your custom content instead of a generic error page.

Custom Error Pages in Web Hosting

You will be able to set up custom error pages for all of your domains or subdomains. The function is supported by all web hosting plans which we provide, so after you log in to the Hepsia Control Panel and check out the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that"ll be displayed, you could select the kind of error page which should show up - a default one from our system, a typical Apache web server page or a custom one. For the last mentioned option, you have to specify the URL to the page, so if you use custom made pages, you need to upload the files in your web hosting account first. An alternative way is to use an .htaccess file placed in the domain or subdomain folder with a line for each and every error type. The actual syntax can be seen in our Knowledge Base, to help you use this feature even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

Including your own pages for each of the four error types to any website hosted inside a semi-dedicated server account with us will be really easy and will not take more than a couple of clicks. When you upload the files in your account, you can navigate to the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there via an intuitive interface with drop-down navigation. You could select what page should appear for every error type. Your options are a standard Apache server page or a page from our system, and personalized pages. Should you choose the aforementioned option, you will need to type in the link to every page in your account, then save the change. The link or the kind of page which will be shown in case a user encounters an error can be changed whenever you want. If you are more experienced, you can use an .htaccess file to be able to set custom error pages as well, as an alternative to using our integrated generator software tool, and if you select this option, the file needs to be positioned inside the root directory of a particular domain or subdomain.