If a particular page on an Internet site doesn't load for some reason or if a link is broken, the website visitor will see an error page with some generic message. The page will have nothing in common with the rest of the site, that may make the visitor leave your Internet site. A likely solution in cases like this is a feature offered by some hosting service providers - the ability to set your own customized error pages which will have exactly the same style and design as your Internet site and that can contain any images or text you want depending on the specific error. There are four well-known errors that could occur and they involve these particular so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the hosting server and it can't be processed; 401, in case you are supposed to log in to see some web page, but you haven't done this yet; 403, if you don't have an authorization to view a specific page; and 404, in case a link which you've clicked leads to a file that does not exist. In each of these situations, visitors will be able to see your custom content as opposed to a generic error page.

Custom Error Pages in Cloud Web Hosting

You shall be able to set up customized error pages for all of your domains or subdomains. The function is supported by all cloud web hosting package that we offer, so as soon as you log in to the Hepsia CP and check out the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will appear, you may select the type of error page which should appear - a default one from our system, a conventional Apache web server page or a customized one. For the last mentioned option, you have to specify the URL to the page, so if you use custom made pages, you have to upload the files inside your Internet hosting account first. An alternative way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for every error type. The exact syntax can be found 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 Hosting

Adding your pages for any of the four error types to any site hosted through a semi-dedicated server account with us will be really uncomplicated and won't take more than a few clicks. As soon as you upload the files in your account, you can go to the Hosted Domains section of your Hepsia Control Panel and edit the domains and subdomains listed there via an intuitive interface with drop-down menus. You may pick what page should display for each error type. Your options are a default Apache server page or a page from our system, and personalized pages. If you pick the aforementioned option, you will need to enter the link to each page inside your account, then save the change. The link or the sort of page which will appear if a user encounters an error can be changed anytime. In case you’re more experienced, you could use an .htaccess file to set customized error pages too, rather than using our integrated generator tool, and should you choose this option, the file has to be placed in the root directory of a specific domain or subdomain.