If a certain 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 Internet site, that could make the visitor leave your Internet site. A solution in such a case is a function offered by some hosting companies - the option to set up your own customized error pages which shall have identical style and design as your Internet site and which may contain any text or images that you'd like dependent upon the particular error. There are four common errors that could occur and they involve the following so-called HTTP status codes - 400, when your Internet browser sends a bad request to the web server and it cannot be processed; 401, if you are supposed to log in to see some page, but you have not done so yet; 403, if you don't have an authorization to see a particular page; and 404, if a link that you have clicked leads to a file which doesn't exist. In any of these scenarios, website visitors will be able to see your custom made content rather than a generic error page.
Custom Error Pages in Hosting
You will be able to set up customized error pages for any of your domains or subdomains. The function is supported by all hosting
package that we provide, so after you log in to the Hepsia CP and go to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that"ll be displayed, you may pick the sort of error page that should show up - a default one from our system, a conventional Apache web server page or a custom one. For the aforementioned alternative, you have to specify the URL to the page, so when you use custom pages, you should upload the files inside your hosting account first. One other way is to use an .htaccess file positioned in the domain or subdomain folder with a line for every error type. The correct syntax can be located in our Knowledge Base, so that you can use this feature even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Servers
Including your own pages for each of the four error types to any web site hosted through a semi-dedicated server
account with us will be really simple and shall not take more than a couple of mouse clicks. When you upload the files to your account, you can navigate to the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there via an intuitive interface with drop-down navigation. You can select what page should display for each and every error type. Your options are a default Apache web server page or a page from our system, and custom made pages. If you select the last option, you must enter the link to every single page inside your account, then save the change. The link or the type of page which will appear when a user encounters an error can be changed whenever you want. In case you are more experienced, you may use an .htaccess file in order to set custom error pages as well, as an alternative to using our integrated generator instrument, and if you pick this option, the file has to be located inside the root directory of a given domain or subdomain.