If a specific page on an Internet site does not load for some reason or in case a link is not working, the website visitor will see an error page with a generic message. The page will have nothing in common with the rest of the website, that can make the visitor leave the site. A potential solution in this case is a function offered by some website hosting providers - the ability to set your own personalized error pages that will have identical design and style as your website and which could contain any text or images you want dependent upon the particular error. There are four standard errors that can take place and they involve these particular 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 have not done so yet; 403, if you do not have an authorization to view a certain page; and 404, in case a link that you've clicked leads to a file which does not exist. In any of these cases, site visitors will be able to see your custom made content rather than a generic error page.
Custom Error Pages in Shared Web Hosting
You shall be able to set up custom made error pages for each of your domains or subdomains. The feature is supported by all shared web hosting plans that we offer, so once you log in to your Hepsia Control Panel and visit the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that"ll be displayed, you may select the kind 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 will need to specify the URL to the page, so if you use custom pages, you need to upload the files in your Internet hosting account first. Another way is to use an .htaccess file positioned in the domain or subdomain folder with a line for each error type. The correct syntax can be located in our Knowledge Base, to help you use this feature even if you don't have any previous experience.
Custom Error Pages in Semi-dedicated Servers
All of our semi-dedicated servers support custom made error pages, thus you'll be able to use this feature for any domain or subdomain hosted inside your account. All it takes to do this is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click the Edit button related to the particular domain/subdomain and to type the link to the custom-made file. You'll be able to do this independently for each and every error type. You shall be able to switch back to a generic error page at any time if required and the change will take effect at once. Another way to achieve the exact same result is to place an .htaccess file in the domain or subdomain folder related to the website that you'd like to edit and to type in several lines of program code in it. If you would like to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, which means that you shall not need any coding skills or prior experience.