If a certain page on an Internet site doesn't load for some reason or in case a link is broken, the visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the site, which may make the visitor leave your Internet site. A possible solution in such a case is a feature made available from some hosting companies - the option to set up your own custom error pages that shall have identical design as your site and that may contain any images or text that you'd like based on the specific error. There are 4 common errors which can occur and they involve the following so-called HTTP status codes - 400, when your 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 webpage, but you have not done so yet; 403, if you do not have a permission to view a particular page; and 404, in case a link which you've clicked leads to a file that does not exist. In all of these scenarios, site visitors will be able to see your custom content as opposed to a generic error page.

Custom Error Pages in Cloud Website Hosting

You shall be able to set up custom error pages for any of your domains or subdomains. The function is supported by all cloud website hosting package that we provide, so once you log in to your Hepsia Control Panel and go to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will be displayed, you could select the sort of error page which should appear - a default one from our system, a standard Apache server page or a customized one. For the aforementioned alternative, you have to assign the URL to the page, so if you use personalized pages, you have to upload the files inside your website hosting account first. Another way is to use an .htaccess file located inside the domain or subdomain folder with a line for each and every error type. The exact syntax can be seen in our Knowledge Base, so that you can use this feature even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

If you host your websites in a semi-dedicated server account with us, you'll be able to set custom made error pages for any of them with ease via our custom Hepsia hosting Control Panel. With just a couple of mouse clicks inside the Hosted Domains section, you'll be able to modify the default setting from a system page to a custom one for any of the 4 error types. All you have to do is supply a link to each file you have uploaded before that and then save the change. If necessary, you will be able to revert this customization anytime and in exactly the same way. If you want, you can use an .htaccess file too. It must be created/uploaded inside the domain or subdomain folder related to the site whose error pages you intend to alter and the content for such a file can be found in our Help article on this matter.