If a particular page on a site does not load for some reason or in case a link is not functioning, the site visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the website, that can make the visitor leave your site. A likely solution in such a case is a function offered by some hosting companies - the option to set your own custom-made error pages which shall have exactly the same design and style as your website and that could contain any text or images that you'd like based on the specific error. There are 4 common errors which may take place and they involve these particular so-called HTTP status codes - 400, when your browser sends a bad request to the web server and it can't be processed; 401, in case you are supposed to log in to see some web page, but you haven't done so yet; 403, if you do not have a permission to view a particular page; and 404, if a link which you've clicked leads to a file that does not exist. In all of these situations, site visitors shall be able to see your personalized content as opposed to a generic error page.

Custom Error Pages in Web Hosting

You'll be able to set up custom made error pages for all of your websites easily if you use any of our Linux web hosting. This can be done from the Hosted Domains section of the Hepsia Control Panel, offered with all accounts and when you go there, you could set your customized pages independently for any domain or subdomain. You must upload the files to your account ahead of time and input the links to them during the process. This function may be de-activated at any time and the options you'll be able to select from are a conventional page from our system or a default Apache web server page. Custom error pages may be set with an .htaccess file too. 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're not tech-savvy, you could 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 4 error types to any web site hosted from a semi-dedicated server account with us shall be very simple and will not take more than several mouse clicks. Once you upload the files inside your account, you could navigate to the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there using an intuitive interface with drop-down menus. You could select what page should appear for each error type. Your options are a default Apache web server page or a page from our system, and custom made pages. Should you select the last option, you must type the link to each and every page in your account, then save the change. The link or the type of page that appears if a user encounters an error can be modified anytime. In case you’re more experienced, you may use an .htaccess file so as to set custom error pages as well, as opposed to using our integrated generator software instrument, and if you choose this option, the file should be placed inside the root directory of a particular domain or subdomain.