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

Custom Error Pages in Web Hosting

You can set up custom error pages for all of your Internet sites effortlessly when you use any of our Linux web hosting services. This could be done via the Hosted Domains part of the Hepsia CP, provided with all accounts and when you go there, you'll be able to set your custom made pages independently for any domain or subdomain. You have to upload the files to your account ahead of time and enter the links to them through the process. This feature can be de-activated at any time and the options you'll be able to choose from are a standard page from our system or a default Apache web server page. Personalized error pages could be set with an .htaccess file too. The file should be put in the domain or subdomain folder and it must include some system code and links to the pages. If you're not tech-savvy, you may copy the whole content needed for the file from our Help section.

Custom Error Pages in Semi-dedicated Hosting

All of our Linux semi-dedicated hosting support custom error pages, so you will be able to use this feature for each 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 on the Edit button related to the particular domain/subdomain and to input the link to the custom-made file. You'll be able to do this individually for every error type. You'll be able to switch back to a generic error page whenever you want if necessary and the change shall take effect at once. An alternative way to achieve the exact same result is to put an .htaccess file in the domain or subdomain folder associated with the site that you want to change and to enter a few lines of program code in it. If you would like to try this method, you can copy and paste the necessary code from our Knowledge Base article on custom error pages, which means that you will not need any computer programming skills or prior experience.