If a certain page on a site doesn't load for some reason or if a link is not functioning, the visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the website, which may make the visitor leave your site. A potential solution in such a case is a feature offered by some website hosting service providers - the ability to set up your own custom error pages that will have the exact same design as your site and which may contain any text or images which you want based on the specific error. There are 4 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 hosting 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 specific page; and 404, when a link which you've clicked leads to a file which doesn't exist. In each of these situations, site visitors will be able to see your personalized content as opposed to a generic error page.

Custom Error Pages in Shared Hosting

You'll be able to set up customized error pages for any of your domains or subdomains. The feature is supported by all shared hosting package that we provide, so after you log in to the Hepsia CP and navigate to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will appear, you could pick the type 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 when you use custom made pages, you should upload the files in your hosting account first. An alternative 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 function even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

All our Linux semi-dedicated servers support customized error pages, thus you'll be able to use this feature for every single domain or subdomain hosted in your account. All it takes to do that is to visit the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button associated with the specific domain/subdomain and then to type in the link to the custom-made file. You can do this independently for each and every error type. You will be able to switch back to a default error page at any time if needed and the change will take effect instantly. A different way to achieve the exact same result is to place an .htaccess file inside the domain or subdomain folder related to the website which you would like to change and to input a few lines of program code within it. If you'd like to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, therefore you will not need any coding skills or previous experience.