If a particular page on a website doesn't load for some reason or if a link is not working, the site visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the website, which may make the visitor leave the website. A potential solution in such a case is a function made available from some web hosting service providers - the option to set your own personalized error pages which will have the exact same layout as your site and that can contain any text or images that you would like depending on the specific error. There are four standard errors which could occur and they involve the following 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 some page, but you have not done so yet; 403, if you don't have an authorization to view a specific page; and 404, if a link which you've clicked leads to a file which does not exist. In all of these cases, site visitors shall be able to see your personalized content as opposed to a generic error page.

Custom Error Pages in Cloud Hosting

You can set up customized error pages for all of your websites without difficulty when you use any of our cloud hosting. This can easily be done from the Hosted Domains part of the Hepsia Control Panel, offered with all accounts and once you go there, you can set your personalized pages independently for any domain or subdomain. You need to upload the files to your account beforehand and input the links to them through the process. This function can be de-activated whenever you want and the options you'll be able to select from are a conventional page from our system or a default Apache 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 should incorporate some system code and links to the pages. If you are not tech-savvy, you may copy the entire content needed for the file from our Help section.

Custom Error Pages in Semi-dedicated Servers

Adding your personal pages for any of the four error types to any Internet site hosted from a semi-dedicated server account with us will be very basic and shall not take more than a couple of clicks. Once you upload the files inside your account, you can navigate to 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 may choose what page should show up for each error type. Your choices are a default Apache server page or a page from our system, and custom made pages. In case you choose the abovementioned option, you must type the link to every single page in your account, then save the change. The link or the sort of page that will appear if a user encounters an error can be modified at any time. If you're more experienced, you could use an .htaccess file in order to set customized error pages as well, as an alternative to using our integrated generator tool, and should you pick this option, the file must be placed in the root directory of a given domain or subdomain.