If a certain page on an Internet site doesn't load for some reason or in case a link is broken, the website visitor will see an error page with some generic message. The page shall 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 offered by some website hosting providers - the ability to set your own custom-made error pages which will have the exact same design as your website and which can contain any images or text you want based on the specific error. There are four standard errors that could occur and they involve these 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, if you are supposed to log in to see a page, but you have not done so yet; 403, if you do not have an authorization to view a particular page; and 404, in case a link that you have clicked leads to a file which doesn't exist. In each of these scenarios, site visitors shall be able to see your custom content instead of a generic error page.

Custom Error Pages in Web Hosting

You can set up personalized error pages for each of your sites with ease when you use any of our web hosting. This can be done through the Hosted Domains part of the Hepsia CP, provided with all accounts as soon as you go there, you can set your custom made pages independently for any domain or subdomain. You have to upload the files to your account in advance and enter the links to them through the process. This feature can be de-activated anytime and the options you'll be able to choose from are a generic page from our system or a default Apache server page. Personalized 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 contain 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 Servers

All our semi-dedicated servers support custom error pages, so you will be able to use this feature for every single domain or subdomain hosted in your account. All it takes to do this is to visit the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button associated with the given domain/subdomain and to input the link to the custom-made file. You'll be able to do this separately for each and every error type. You shall be able to switch back to a standard error page anytime if necessary and the change will take effect at once. An alternative way to get the very same result is to put an .htaccess file inside the domain or subdomain folder of the web site that you want to modify and to enter a few lines of code in it. If you need to try this method, you could copy and paste the necessary code from our Knowledge Base article on custom error pages, hence you won't need any computer programming skills or prior experience.