Custom Error Pages

If a certain page on a website does not load for some reason or if a link is not working, the site visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the website, that may make the visitor leave your Internet site. A solution in such a case is a function made available from some website hosting providers - the ability to set up your own customized error pages which will have the same style and design as your site and that may contain any text or images that you would like dependent upon the particular error. There are four popular errors that can take place and they involve the following so-called HTTP status codes - 400, when your browser sends a bad request to the server and it can't be processed; 401, if you are supposed to log in to see some web page, but you have not done so yet; 403, if you do not have an authorization to view a specific page; and 404, in case a link which you have clicked leads to a file which doesn't exist. In any of these cases, website visitors shall be able to see your custom made content rather than a generic error page.

You'll be able to set up custom error pages for any of your domains or subdomains. The function is supported by all hosting solutions that we offer, so once you log in to the Hepsia Control Panel and navigate to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up which will be displayed, you can select the sort of error page that should show up - a default one from our system, a typical Apache server page or a custom one. For the aforementioned option, you need to assign the URL to the page, so if you use customized pages, you need to upload the files inside your web hosting account first. An alternative way is to use an .htaccess file located inside the domain or subdomain folder with a line for each and every error type. The actual syntax can be seen in our Knowledge Base, so that you can use this function even if you do not have any previous experience.