If a certain page on a website does not load for some reason or if a link is not working, the site visitor will see an error page with some generic message. The page will have nothing in common with the rest of the website, that can make the visitor leave your website. A likely solution in such a case is a function made available from some website hosting service providers - the option to set your own custom-made error pages that shall have the exact same style and design as your Internet site and which can contain any text or images you want depending on the specific error. There are 4 common errors that may take place and they involve the following so-called HTTP status codes - 400, when your world-wide web 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 page, but you have not done this yet; 403, if you do not have an authorization to see a specific page; and 404, when a link that you have clicked leads to a file which doesn't exist. In any of these situations, visitors shall be able to see your custom content instead of a generic error page.

Custom Error Pages in Website Hosting

You'll be able to set up customized error pages for each of your sites effortlessly if you use any of our website hosting. This could be done through the Hosted Domains part of the Hepsia CP, offered with all accounts as soon as you go there, you can set your custom made pages independently for any domain or subdomain. You must upload the files to your account ahead of time and enter the links to them through the process. This feature can be de-activated anytime and the options you will be able to pick from are a generic page from our system or a default Apache server page. Custom made error pages could be set with an .htaccess file as well. The file should be put into the domain or subdomain folder and it should include some system code and links to the pages. If you are not tech-savvy, you could copy the entire content you'll need for the file from our Help section.

Custom Error Pages in Semi-dedicated Hosting

All our Linux semi-dedicated packages support custom made error pages, so you shall be able to employ this feature for each domain or subdomain hosted in your account. All it takes to do that is to go to the Hosted Domains section of the Hepsia Control Panel, to click the Edit button linked to the given domain/subdomain and then to input the link to the custom-made file. You are able to do this independently for each and every error type. You will be able to switch back to a default error page anytime if needed and the change shall take effect at once. A different way to achieve the same result is to set an .htaccess file in the domain or subdomain folder associated with the web site that you'd like to change and to input several lines of program code within it. If you want to try this method, you can copy and paste the necessary code from our Knowledge Base article on custom error pages, therefore you won't need any programming skills or prior experience.