If a particular page on an Internet site does not 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 Internet site, that can make the visitor leave your site. A solution in cases like this is a function offered by some hosting companies - the option to set up your own personalized error pages that shall have the same style and design as your Internet site and which could contain any images or text you want based on the particular error. There are 4 popular errors that could occur and they involve the following so-called HTTP status codes - 400, when your browser sends a bad request to the server and it cannot 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 do not have an authorization to view a certain page; and 404, in case a link which you have clicked leads to a file which doesn't exist. In each of these cases, site visitors shall be able to see your customized content as opposed to a generic error page.

Custom Error Pages in Hosting

You can set up custom error pages for all of your domains or subdomains. The function is supported by all hosting package which we provide, so when you log in to your Hepsia CP and go to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will show up, you could select the type of error page which should appear - a default one from our system, a typical Apache web server page or a custom one. For the latter option, you will need to assign the URL to the page, so when you use personalized pages, you must upload the files inside your web hosting account first. An alternative way is to use an .htaccess file located in the domain or subdomain folder with a line for each and every error type. The actual syntax can be located in our Knowledge Base, to help you use this function even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Servers

Incorporating your pages for any of the 4 error types to any web site hosted from a semi-dedicated server account with us will be really easy and shall not take more than a couple of mouse clicks. After you upload the files to your account, you can navigate to the Hosted Domains section of your Hepsia Control Panel and edit the domains and subdomains listed there using an intuitive interface with drop-down navigation. You could pick what page should show up for each error type. The alternatives are a standard Apache web server page or a page from our system, and personalized pages. If you choose the last option, you must enter the link to each and every page in your account, then save the change. The link or the kind of page that shows up if a user encounters an error can be changed anytime. In case you’re more experienced, you could use an .htaccess file to set custom made error pages too, as an alternative to using our integrated generator tool, and in case you pick this option, the file needs to be placed in the root directory of a specific domain or subdomain.