If a specific page on a website doesn't load for some reason or in case 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, that could make the visitor leave the site. A likely solution in such a case is a function made available from some hosting providers - the option to set up your own customized error pages that will have exactly the same design and style as your Internet site and that can contain any images or text you want depending on the specific error. There are four popular errors that could take place and they involve these so-called HTTP status codes - 400, when your browser sends a bad request to the web server and it cannot 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 an authorization to see a particular page; and 404, in case a link that you have clicked leads to a file which doesn't exist. In each of these scenarios, site visitors will be able to see your personalized content instead of a generic error page.

Custom Error Pages in Cloud Hosting

You'll be able to set up customized error pages for any of your sites effortlessly when you use any of our Linux cloud packages. This can be done through the Hosted Domains part of the Hepsia Control Panel, offered with all accounts as soon as you go there, you can set your customized pages independently for any domain or subdomain. You need to upload the files to your account ahead of time and input the links to them through the process. This function could be de-activated at any time and the options you will be able to choose from are a conventional page from our system or a default Apache web server page. Custom made error pages can be set with an .htaccess file too. The file should be placed in the domain or subdomain folder and it should include some system code and links to the pages. If you aren't tech-savvy, you could copy the whole content necessary for the file from our Help section.

Custom Error Pages in Semi-dedicated Hosting

Adding your own pages for any of the four error types to any site hosted through a semi-dedicated server account with us will be very uncomplicated and shall not take more than a few clicks. As soon as you upload the files to your account, you could check out the Hosted Domains section of your Hepsia Control Panel and edit the domains and subdomains listed there via an intuitive interface with drop-down navigation. You can select what page should display for every single error type. The options are a default Apache server page or a page from our system, and customized pages. Should you choose the abovementioned option, you need to input the link to every page inside your account, then save the change. The link or the sort of page that appears when a user encounters an error can be changed anytime. If you're more experienced, you may use an .htaccess file to be able to set customized error pages too, rather than using our integrated generator tool, and should you select this option, the file has to be placed in the root directory of a particular domain or subdomain.