If a specific page on an Internet site doesn't load for some reason or in case a link is broken, the site visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the website, which may make the visitor leave your site. A solution in such a case is a function offered by some web hosting providers - the ability to set up your own personalized error pages which shall have exactly the same design and style as your Internet site and which may contain any images or text that you would like dependent upon the specific error. There are four common errors that could occur and they involve these particular so-called HTTP status codes - 400, when your web browser sends a bad request to the web server and it can't be processed; 401, if you are supposed to log in to see some webpage, but you haven't done this yet; 403, if you do not have a permission to view a certain page; and 404, if a link that you've clicked leads to a file which doesn't exist. In any of these cases, website visitors shall be able to see your personalized content as opposed to a generic error page.
Custom Error Pages in Hosting
You shall be able to set up personalized error pages for any of your domains or subdomains. The feature is supported by all hosting plans that we provide, so once you log in to your Hepsia Control Panel and visit the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that"ll appear, you may pick the kind of error page that should appear - a default one from our system, a conventional Apache web server page or a customized one. For the last mentioned alternative, you need to assign the URL to the page, so if you use custom pages, you need to upload the files in your Internet hosting account first. Another way is to use an .htaccess file placed inside the domain or subdomain folder with a line for each and every error type. The precise syntax can be found in our Knowledge Base, so that you can use this function even if you don't have any previous experience.
Custom Error Pages in Semi-dedicated Servers
If you host your websites in a semi-dedicated server account from us, you'll be able to set customized error pages for any of them with ease using our custom Hepsia hosting CP. With only a couple of mouse clicks inside the Hosted Domains section, you can modify the default setting from a system page to a custom one for any of the four error types. All you need to do is supply a link to each and every file that you've uploaded before that and then save the change. If needed, you shall be able to revert this change at any time and in exactly the same way. If you prefer, you could use an .htaccess file too. It has to be created/uploaded within the domain or subdomain folder related to the website whose error pages you want to change and the content for this kind of file can be found in our Help article for this matter.