If a certain page on an Internet site doesn't load for some reason or in case a link is broken, the visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the Internet site, that could make the visitor leave your website. A likely solution in this case is a function made available from some hosting providers - the option to set your own custom error pages that shall have identical style and design as your Internet site and that can contain any images or text you want dependent upon the specific error. There are four popular errors that can occur and they involve these particular so-called HTTP status codes - 400, when your web browser sends a bad request to the server and it can't be processed; 401, if you're supposed to log in to see a page, but you haven't done so yet; 403, if you do not have a permission to see a particular page; and 404, if a link which you've clicked leads to a file that doesn't exist. In all of these cases, visitors will be able to see your custom content instead of a generic error page.

Custom Error Pages in Cloud Website Hosting

You can set up personalized error pages for any of your domains or subdomains. The function is supported by all cloud website hosting package that we offer, so when you log in to the 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 may choose the sort of error page which should show up - a default one from our system, a standard Apache web server page or a custom one. For the last mentioned alternative, you'll have to specify the URL to the page, so if you use personalized pages, you should upload the files inside your hosting account first. An alternative way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for each and every error type. The actual syntax can be seen in our Knowledge Base, so that you can use this feature even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

Including your pages for each of the 4 error types to any website hosted in a semi-dedicated server account with us will be very simple and won't take more than several clicks. When you upload the files in your account, you could go to the Hosted Domains section of your Hepsia CP and edit each of the domains and subdomains listed there through an intuitive interface with drop-down navigation. You may choose what page should show up for each error type. Your choices are a standard Apache web server page or a page from our system, and custom made pages. In case you select the abovementioned option, you have to input the link to every single page in your account, then save the change. The link or the kind of page which will be displayed if a user encounters an error can be changed anytime. If you are more experienced, you can use an .htaccess file so as to set tailor-made error pages as well, as an alternative to using our integrated generator tool, and if you pick this option, the file needs to be located in the root directory of a given domain or subdomain.