If a certain page on a site does not load for some reason or if a link is broken, the website visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the Internet site, which may make the visitor leave your Internet site. A solution in such a case is a function offered by some website hosting companies - the option to set up your own customized error pages which will have exactly the same design as your Internet site and that may contain any images or text which you want depending on the particular error. There are 4 well-known errors which may take place and they involve these particular so-called HTTP status codes - 400, when your Internet 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 webpage, but you haven't done so yet; 403, if you do not have a permission to see a particular page; and 404, in case a link that you have clicked leads to a file that doesn't exist. In each of these situations, website visitors shall be able to see your customized content as opposed to a generic error page.

Custom Error Pages in Shared Hosting

You can set up customized error pages for any of your Internet sites easily if you use any of our shared hosting. This could be done through the Hosted Domains part of the Hepsia Control Panel, which comes with all accounts as soon as you go there, you can set your custom 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 could be de-activated whenever you want and the options you shall be able to to select from are a standard page from our system or a default Apache web server page. Custom made error pages may be set with an .htaccess file as well. The file should be put into the domain or subdomain folder and it must include some system code and links to the pages. If you are not tech-savvy, you could copy the whole content necessary for the file from our Help section.

Custom Error Pages in Semi-dedicated Servers

Adding your personal pages for each of the 4 error types to any web site hosted from a semi-dedicated server account with us shall be very simple and won't take more than a couple of mouse clicks. Once you upload the files inside your account, you can check out the Hosted Domains section of your Hepsia CP and edit any of the domains and subdomains listed there via an intuitive interface with drop-down menus. You may pick what page should show up for every error type. Your choices are a standard Apache server page or a page from our system, and personalized pages. Should you select the abovementioned option, you will need to input the link to every page in your account, then save the change. The link or the kind of page which will appear in case a user encounters an error can be changed anytime. In case you are more experienced, you may use an .htaccess file to be able to set custom error pages too, as opposed to using our integrated generator software tool, and if you choose this option, the file needs to be located inside the root directory of a particular domain or subdomain.