If a particular page on an Internet site doesn't load for some reason or in case a link is broken, the site visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the Internet site, that could make the visitor leave your site. A likely solution in cases like this is a function made available from some hosting companies - the ability to set your own custom error pages which shall have the same design and style as your Internet site and that could contain any text or images you want depending on the particular error. There are 4 well-known errors that can occur and they involve these so-called HTTP status codes - 400, when your Internet browser sends a bad request to the web server and it cannot be processed; 401, if you are supposed to log in to see a page, but you haven't done this yet; 403, if you don't have a permission to see a specific page; and 404, when a link which you have clicked leads to a file that doesn't exist. In each of these situations, website visitors shall be able to see your custom content instead of a generic error page.

Custom Error Pages in Shared Web Hosting

You'll be able to set up customized error pages for all of your websites with ease when you use any of our shared web hosting. This could be done using the Hosted Domains section of the Hepsia Control Panel, provided with all accounts as soon as you go there, you could set your personalized pages independently for any domain or subdomain. You have to upload the files to your account before you start and enter the links to them during the process. This function may be de-activated whenever you want and the options you will be able to select from are a generic page from our system or a default Apache server page. Custom error pages could be set with an .htaccess file too. The file should be put into the domain or subdomain folder and it should include some system code and links to the pages. If you're not tech-savvy, you could copy the whole content required for the file from our Help section.

Custom Error Pages in Semi-dedicated Servers

Incorporating your own pages for each of the 4 error types to any Internet site hosted inside a semi-dedicated server account with us will be very easy and shall not take more than several mouse clicks. As soon as you upload the files in your account, you could check out the Hosted Domains section of your Hepsia Control Panel and edit the domains and subdomains listed there through an intuitive interface with drop-down navigation. You can select what page should show up for every error type. Your options are a default Apache server page or a page from our system, and personalized pages. In case you choose the last option, you have to type the link to each page in your account, then save the change. The link or the kind of page that will appear when a user encounters an error can be modified whenever you want. In case you’re more experienced, you may use an .htaccess file to set personalized error pages too, instead of using our integrated generator tool, and if you select this option, the file has to be placed inside the root directory of a specific domain or subdomain.