If a certain page on an Internet site does not load for some reason or if a link is not functioning, the site visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the site, that can make the visitor leave your website. A possible solution in such a case is a feature offered by some website hosting providers - the ability to set your own personalized error pages which will have the exact same design and style as your site and that can contain any text or images that you'd like based on the specific error. There are four well-known errors which may take place and they involve these so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the server and it cannot be processed; 401, if you're supposed to log in to see some webpage, but you haven't done this yet; 403, if you don't have a permission to see a certain page; and 404, if a link that you've clicked leads to a file that does not exist. In any of these scenarios, visitors will be able to see your customized content as opposed to a generic error page.

Custom Error Pages in Shared Hosting

You will be able to set up customized error pages for each of your domains or subdomains. The function is supported by all shared hosting package which we provide, so once you log in to your Hepsia CP and navigate to the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that will appear, you can select the kind of error page that should show up - a default one from our system, a typical Apache web server page or a customized one. For the latter alternative, you must assign the URL to the page, so when you use personalized pages, you must upload the files inside your hosting account first. Another way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for each error type. The correct syntax can be found in our Knowledge Base, to help you use this function even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

All of our semi-dedicated servers support tailor-made error pages, thus you'll be able to employ this function for every single domain or subdomain hosted in your account. All it will take to do that is to go to the Hosted Domains section of the Hepsia CP, to click on the Edit button associated with the given domain/subdomain and then to type in the link to the custom file. You can do this separately for each and every error type. You'll be able to switch back to a generic error page anytime if needed and the change shall take effect right away. Another way to achieve the exact same result is to place an .htaccess file in the domain or subdomain folder related to the web site which you would like to change and to enter several lines of program code in it. If you'd like to try this method, you may copy and paste the required code from our Knowledge Base article on custom error pages, thus you won't need any coding skills or prior experience.