If a certain page on a site doesn't load for some reason or in case a link is not functioning, the website visitor will see an error page with a generic message. The page will have nothing in common with the rest of the Internet site, which could make the visitor leave your Internet site. A solution in this case is a function made available from some hosting companies - the ability to set up your own custom-made error pages that will have the same design and style as your website and that could contain any text or images that you'd like based on the specific error. There are four well-known 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 cannot be processed; 401, if you're supposed to log in to see some webpage, but you have not done this yet; 403, if you do not have a permission to view a certain page; and 404, if a link that you have clicked leads to a file which doesn't exist. In each of these situations, visitors will be able to see your customized content rather than a generic error page.

Custom Error Pages in Shared Hosting

You'll be able to set up customized error pages for all of your Internet sites without difficulty when you use any of our Linux shared hosting services. This could be done via the Hosted Domains part of the Hepsia Control Panel, which comes with all accounts and once you go there, you'll be able to set your custom pages independently for any domain or subdomain. You have to upload the files to your account ahead of time and input the links to them during the process. This feature can be de-activated whenever you want and the options you will be able to choose from are a conventional page from our system or a default Apache web server page. Custom made error pages could be set with an .htaccess file as well. The file should be placed in the domain or subdomain folder and it must include some system code and links to the pages. If you are not tech-savvy, you can copy the whole content you'll need for the file from our Help section.

Custom Error Pages in Semi-dedicated Hosting

All of our Linux semi-dedicated services support custom made error pages, thus you'll be able to use this feature for each and every domain or subdomain hosted in your account. All it will take to do that is to navigate to the Hosted Domains section of the Hepsia CP, to click the Edit button linked to the given domain/subdomain and then to input the link to the custom file. You are able to do this separately for every error type. You shall be able to switch back to a generic error page whenever you want if needed and the change shall take effect straightaway. An alternative way to achieve the same exact result is to set an .htaccess file in the domain or subdomain folder related to the web site that you want to change and to input a few lines of program code inside it. If you need to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, hence you shall not need any programming skills or previous experience.