If a specific page on a website doesn't load for some reason or if 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 website, that could make the visitor leave your Internet site. A possible solution in cases like this is a function offered by some web hosting companies - the ability to set your own personalized error pages that will have the same design as your site and that could contain any images or text which you want dependent upon the particular error. There are 4 popular errors that can take place 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 web page, but you have not done so yet; 403, if you do not have a permission to view a particular page; and 404, when a link that you have clicked leads to a file that does not exist. In each of these scenarios, site visitors shall be able to see your custom 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 Internet sites effortlessly if you use any of our web hosting. This can easily be done from the Hosted Domains part of the Hepsia Control Panel, offered with all accounts and when you go there, you'll be able to set your customized 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 may be de-activated at any time and the options you'll be able to pick from are a standard page from our system or a default Apache web server page. Customized error pages could be set with an .htaccess file as well. The file should be placed in the domain or subdomain folder and it should incorporate some system code and links to the pages. If you're not tech-savvy, you may copy the whole content required for the file from our Help section.

Custom Error Pages in Semi-dedicated Servers

Including your pages for any of the 4 error types to any site hosted through a semi-dedicated server account with us shall be very easy and shall not take more than a few clicks. After you upload the files in your account, you can 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 can choose what page should display for every single error type. Your choices are a standard Apache web server page or a page from our system, and custom made pages. Should you pick the abovementioned option, you will need to type in the link to every single page in your account, then save the change. The link or the type of page that will appear if a user encounters an error can be changed anytime. If you are more experienced, you may use an .htaccess file in order to set custom error pages too, as an alternative to using our integrated generator software instrument, and if you choose this option, the file needs to be positioned in the root directory of a specific domain or subdomain.