If a particular page on a site does not load for some reason or in case a link is not functioning, the site visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the site, that could make the visitor leave your website. A likely solution in this case is a feature offered by some web hosting providers - the ability to set up your own personalized error pages which will have the exact same design as your Internet site and which can contain any images or text you want based on the specific error. There are four common errors that could occur and they involve these so-called HTTP status codes - 400, when your browser sends a bad request to the web server and it cannot be processed; 401, in case you are supposed to log in to see some webpage, but you haven't done this yet; 403, if you don't have a permission to view a certain page; and 404, if a link that you've clicked leads to a file which does not exist. In all of these cases, website visitors will be able to see your personalized content as opposed to a generic error page.

Custom Error Pages in Hosting

You'll be able to set up custom error pages for all of your websites effortlessly when you use any of our Linux hosting. This can easily be done from the Hosted Domains section of the Hepsia CP, provided with all accounts as soon as you go there, you could set your custom pages independently for any domain or subdomain. You have to upload the files to your account beforehand and enter the links to them during the process. This feature can be de-activated at any time and the options you shall be able to to select from are a generic page from our system or a default Apache server page. Custom made error pages can be set with an .htaccess file as well. The file should be put into the domain or subdomain folder and it should contain some system code and links to the pages. If you are not tech-savvy, you may copy the whole content you'll need for the file from our Help section.

Custom Error Pages in Semi-dedicated Hosting

Our semi-dedicated hosting support custom made error pages, thus you'll be able to employ this feature for every single domain or subdomain hosted in your account. All it takes to do that is to visit the Hosted Domains section of the Hepsia CP, to click the Edit button related to the given domain/subdomain and then to type the link to the custom file. You'll be able to do this individually for each and every error type. You'll be able to switch back to a generic error page anytime if needed and the change will take effect immediately. An alternative way to get the same result is to put an .htaccess file in the domain or subdomain folder related to the web site which you'd like to edit and to type in a few lines of code in it. If you'd like to try this method, you could copy and paste the needed code from our Knowledge Base article on custom error pages, which means that you shall not need any coding skills or previous experience.