If a certain page on a website doesn't load for some reason or if a link is not functioning, the visitor will see an error page with some generic message. The page will have nothing in common with the rest of the site, which may make the visitor leave your website. A solution in this case is a function made available from some website hosting providers - the option to set your own custom error pages which will have exactly the same design and style as your website and which could contain any text or images which you want depending on the particular error. There are 4 popular errors which can occur and they involve these particular so-called HTTP status codes - 400, when your Internet browser sends a bad request to the hosting server and it can't be processed; 401, in case you are supposed to log in to see a webpage, but you have not done so yet; 403, if you don't have a permission to see a specific page; and 404, in case a link which you've clicked leads to a file that doesn't exist. In all of these situations, visitors shall be able to see your custom content rather than a generic error page.

Custom Error Pages in Cloud Hosting

You shall be able to set up custom error pages for all of your domains or subdomains. The feature is supported by all cloud hosting plans that we offer, so as soon as you log in to your Hepsia Control Panel and check out the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will be displayed, you can choose the type of error page that should appear - a default one from our system, a conventional Apache server page or a customized one. For the aforementioned option, you must assign the URL to the page, so when you use custom pages, you need to upload the files inside your web hosting account first. An alternative way is to use an .htaccess file positioned in the domain or subdomain folder with a line for every error type. The actual syntax can be found in our Knowledge Base, so you can use this feature even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

All of our semi-dedicated services support personalized error pages, so you will be able to use this function for each and every domain or subdomain hosted in your account. All it takes to do this is to go to the Hosted Domains section of the Hepsia CP, to click on the Edit button related to the given domain/subdomain and then to type the link to the custom file. You could do this separately for every error type. You'll be able to switch back to a standard error page anytime if required and the change shall take effect straightaway. An alternative way to achieve the exact same result is to set an .htaccess file in the domain or subdomain folder related to the web site which you would like to edit and to enter a couple of lines of code within it. If you want to try this method, you could copy and paste the necessary code from our Knowledge Base article on custom error pages, hence you will not need any computer programming skills or prior experience.