If a specific page on a website doesn't load for some reason or if a link is broken, the site visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the Internet site, that can make the visitor leave the website. A possible solution in such a case is a function offered by some website hosting providers - the ability to set your own personalized error pages that will have identical style and design as your website and which could contain any text or images which you want depending on the particular error. There are four standard errors which could take place and they involve the following so-called HTTP status codes - 400, when your Internet 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 page, but you have not done so yet; 403, if you don't have an authorization to view a certain page; and 404, when a link which you've clicked leads to a file that doesn't exist. In each of these situations, site visitors will be able to see your personalized content rather than a generic error page.

Custom Error Pages in Website Hosting

You will be able to set up personalized error pages for all of your domains or subdomains. The feature is supported by all website hosting package that we offer, so when 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 will be displayed, you can select the sort of error page that should show up - a default one from our system, a standard Apache server page or a customized one. For the aforementioned alternative, you'll have to assign the URL to the page, so when you use customized pages, you should upload the files inside your hosting account first. Another way is to use an .htaccess file located in the domain or subdomain folder with a line for 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 can set custom made error pages for any of them effortlessly through our in-house made Hepsia hosting CP. With just a few mouse clicks in the Hosted Domains section, you'll be able to change the default setting from a system page to a personalized one for each of the four error types. All you need to do is supply a link to each file that you have uploaded before that and then save the change. If necessary, you will be able to revert this change anytime and in exactly the same way. If you'd like, you may use an .htaccess file as well. It has to be created/uploaded in the domain or subdomain folder related to the website whose error pages you intend to modify and the content for this type of file can be found in our Help article for this matter.