If a certain page on a site does not 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 Internet site, that can make the visitor leave the site. A solution in cases like this is a feature made available from some hosting providers - the ability to set your own customized error pages which shall have the exact same layout as your website and that could contain any images or text you want dependent upon the specific error. There are 4 well-known errors which could take place and they involve these so-called HTTP status codes - 400, when your browser sends a bad request to the hosting server and it can't be processed; 401, in case you are supposed to log in to see some webpage, but you haven't done this yet; 403, if you don't have a permission to view a specific page; and 404, when a link that you have clicked leads to a file that doesn't exist. In all of these cases, visitors shall be able to see your custom made content rather than a generic error page.

Custom Error Pages in Shared Hosting

You'll be able to set up personalized error pages for each of your domains or subdomains. The function is supported by all shared hosting solutions that we provide, so when you log in to your Hepsia CP and navigate to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that"ll appear, you may pick the sort of error page that should appear - a default one from our system, a standard Apache server page or a personalized one. For the last mentioned alternative, you must assign the URL to the page, so when you use personalized pages, you have to upload the files inside your Internet hosting account first. An alternative way is to use an .htaccess file placed in the domain or subdomain folder with a line for each and every error type. The precise syntax can be seen in our Knowledge Base, so that you can use this function even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Servers

Incorporating your own pages for each of the four error types to any Internet site hosted through a semi-dedicated server account with us shall be very simple and will not take more than a few mouse clicks. When you upload the files to your account, you could check out the Hosted Domains section of your Hepsia CP and edit any of the domains and subdomains listed there through an intuitive interface with drop-down menus. You can pick what page should display for each error type. The choices are a default Apache web server page or a page from our system, and personalized pages. If you pick the aforementioned option, you will need to type in the link to every single page inside your account, then save the change. The link or the sort of page which shows up in case a user encounters an error can be changed whenever you want. In case you are more experienced, you may use an .htaccess file so as to set tailor-made error pages as well, as opposed to using our integrated generator software instrument, and should you select this option, the file should be positioned in the root directory of a specific domain or subdomain.