If a specific page on a website 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 shall have nothing in common with the rest of the site, that could make the visitor leave the website. A likely solution in cases like this is a feature made available from some website hosting providers - the ability to set up your own personalized error pages that will have identical design as your Internet site and that can contain any text or images that you would like dependent upon the particular error. There are 4 common errors which can occur and they involve these particular so-called HTTP status codes - 400, when your world-wide 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 some web page, but you have not done this yet; 403, if you do not have a permission to view a specific page; and 404, when a link which you have clicked leads to a file which doesn't exist. In any of these situations, visitors shall be able to see your custom made content instead of a generic error page.

Custom Error Pages in Web Hosting

You'll be able to set up custom error pages for any of your Internet sites without difficulty when you use any of our Linux web hosting. This could be done via the Hosted Domains section of the Hepsia Control Panel, offered with all accounts as soon as you go there, you could set your custom pages independently for any domain or subdomain. You should 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 shall be able to to pick from are a conventional page from our system or a default Apache server page. Custom error pages could be set with an .htaccess file as well. The file should be put into the domain or subdomain folder and it must contain some system code and links to the pages. If you're not tech-savvy, you could copy the whole content needed for the file from our Help section.

Custom Error Pages in Semi-dedicated Hosting

Our Linux semi-dedicated hosting support customized error pages, so you will be able to use this function for each and every domain or subdomain hosted in your account. All it will take to do this is to go to the Hosted Domains section of the Hepsia Control Panel, to click the Edit button linked to the particular domain/subdomain and then to enter the link to the custom file. You can do this independently for each error type. You'll be able to switch back to a standard error page whenever you want if needed and the change will take effect instantly. An alternative way to get the same exact result is to place an .htaccess file in the domain or subdomain folder related to the site that you'd like to change and to enter a few lines of program code inside 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, thus you shall not need any programming skills or prior experience.