If a certain page on a website does not load for some reason or in case a link is broken, the site visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the Internet site, which may make the visitor leave your site. A solution in such a case is a feature offered by some website hosting companies - the option to set up your own custom error pages which shall have identical design and style as your Internet site and that can contain any images or text you want based on the specific error. There are four well-known 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 hosting server and it can't be processed; 401, if you are supposed to log in to see some page, but you haven't done so yet; 403, if you don't have a permission to view a specific page; and 404, if a link which you've clicked leads to a file that doesn't exist. In all of these scenarios, website visitors will be able to see your custom made content rather than a generic error page.

Custom Error Pages in Cloud Hosting

You will be able to set up custom made error pages for any of your domains or subdomains. The function is supported by all cloud hosting plans which we provide, so when you log in to your Hepsia CP and check out the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that"ll be displayed, you may choose the sort of error page which should show up - a default one from our system, a conventional Apache server page or a personalized one. For the aforementioned option, you have to assign the URL to the page, so when you use custom made pages, you have to upload the files inside your hosting account first. Another way is to use an .htaccess file located inside the domain or subdomain folder with a line for every error type. The actual 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 Servers

All our semi-dedicated servers support custom made error pages, so you'll be able to employ this feature for each domain or subdomain hosted inside your account. All it takes to do this is to check out the Hosted Domains section of the Hepsia CP, to click the Edit button related to the given domain/subdomain and then to type in the link to the custom-made file. You can do this separately for each and every error type. You shall be able to switch back to a default error page anytime if necessary and the change shall take effect right away. An alternative way to achieve the same result is to place an .htaccess file inside the domain or subdomain folder associated with the web site that you'd like to modify and to enter a couple of lines of code inside it. If you'd like to try this method, you can copy and paste the necessary code from our Knowledge Base article on custom error pages, thus you will not need any programming skills or previous experience.