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

Custom Error Pages in Cloud Website Hosting

You can set up customized error pages for each of your domains or subdomains. The function is supported by all cloud website hosting package that we provide, so after you log in to your 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"ll show up, you could pick the type of error page that should show up - a default one from our system, a standard Apache web server page or a customized one. For the last mentioned option, you need to specify the URL to the page, so when you use custom pages, you need to upload the files in 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 each and every error type. The exact syntax can be found in our Knowledge Base, to help you use this feature even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

Our Linux semi-dedicated hosting support tailor-made error pages, so you will be able to employ this function for each and every domain or subdomain hosted inside your account. All it will take to do that is to visit the Hosted Domains section of the Hepsia CP, to click the Edit button linked to the specific domain/subdomain and then to enter the link to the custom-made file. You'll be able to do this separately for each error type. You'll be able to switch back to a default error page at any time if needed and the change will take effect right away. Another way to achieve the very same result is to set an .htaccess file inside the domain or subdomain folder related to the website which you'd like to modify and to type in a few lines of code within it. If you'd like to try this method, you can copy and paste the needed code from our Knowledge Base article on custom error pages, which means that you'll not need any computer programming skills or previous experience.