Custom Error Pages
Learn what a Custom Error Page is, what function does it serve and how to set one.
If a certain page on a website does not load for some reason or if a link is not functioning, 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 may make the visitor leave your site. A likely solution in such a case is a feature made available from some web hosting companies - the option to set up your own custom error pages which shall have identical layout as your site and that can contain any images or text that you would like based on the particular error. There are four standard errors that could take place and they involve these so-called HTTP status codes - 400, when your Internet browser sends a bad request to the server and it can't be processed; 401, if you are supposed to log in to see some web page, but you have not done this yet; 403, if you don't have a permission to view a particular page; and 404, in case a link which you have clicked leads to a file that does not exist. In all of these scenarios, visitors shall be able to see your custom content rather than a generic error page.
Custom Error Pages in Website Hosting
You can set up personalized error pages for any of your websites with ease when you use any of our website hosting
. This can be done through the Hosted Domains part of the Hepsia CP, which comes with all accounts and once you go there, you'll be able to set your custom made pages independently for any domain or subdomain. You should 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 choose from are a standard page from our system or a default Apache web server page. Tailor-made error pages may be set with an .htaccess file too. The file should be put in the domain or subdomain folder and it should contain some system code and links to the pages. If you are not tech-savvy, you can copy the entire content necessary for the file from our Help section.
Custom Error Pages in Semi-dedicated Servers
Incorporating your personal pages for any of the four error types to any website hosted from a semi-dedicated server
account with us will be very uncomplicated and won't take more than several mouse clicks. When you upload the files to your account, you can navigate to the Hosted Domains section of your Hepsia Control Panel and edit any of the domains and subdomains listed there using an intuitive interface with drop-down menus. You may pick what page should display for every single error type. The alternatives are a default Apache web server page or a page from our system, and tailor-made pages. Should you select the last option, you have to enter the link to each page inside your account, then save the change. The link or the kind of page that will be shown if a user encounters an error can be changed at any time. If you are more experienced, you may use an .htaccess file so as to set in-house made error pages too, rather than using our integrated generator software instrument, and should you choose this option, the file needs to be located in the root directory of a particular domain or subdomain.