If a particular page on an Internet site doesn't load for some reason or in case a link is not working, the website visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the site, which may make the visitor leave the site. A solution in such a case is a function made available from some hosting providers - the ability to set up your own personalized error pages that will have identical style and design as your Internet site and which can contain any images or text which you want dependent upon the specific error. There are 4 standard errors that could take place and they involve these particular so-called HTTP status codes - 400, when your web browser sends a bad request to the server and it can't be processed; 401, in case you are supposed to log in to see a web page, but you haven't done so yet; 403, if you don't have an authorization to view a certain page; and 404, if a link which you have clicked leads to a file which does not exist. In each of these cases, website visitors will be able to see your personalized content rather than a generic error page.

Custom Error Pages in Cloud Web Hosting

You can set up customized error pages for each of your websites easily if you use any of our cloud web hosting. This could be done via the Hosted Domains section of the Hepsia CP, offered with all accounts as soon as you go there, you'll be able to set your custom pages independently for any domain or subdomain. You must upload the files to your account before you start and enter the links to them through the process. This function may be de-activated at any time and the options you will be able to choose from are a generic page from our system or a default Apache web server page. Personalized error pages can be set with an .htaccess file as well. The file should be placed in 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 whole content needed for the file from our Help section.

Custom Error Pages in Semi-dedicated Servers

All our Linux semi-dedicated plans support personalized error pages, so you will be able to employ this feature for each domain or subdomain hosted inside your account. All it takes to do this is to check out the Hosted Domains section of the Hepsia Control Panel, to click the Edit button linked to the specific domain/subdomain and then to enter the link to the custom-made file. You can do this individually for each error type. You'll be able to switch back to a generic error page whenever you want if required and the change will take effect at once. Another way to achieve the same exact result is to set an .htaccess file in the domain or subdomain folder of the website that you would like to edit and to enter a few lines of code in it. If you want to try this method, you could copy and paste the necessary code from our Knowledge Base article on custom error pages, thus you won't need any programming skills or prior experience.