If a certain page on a site does not load for some reason or in case a link is not functioning, the 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 the website. A possible solution in this case is a function offered by some web hosting companies - the ability to set up your own customized error pages which will have exactly the same design and style as your site and that can contain any text or images you want dependent upon the particular error. There are 4 standard errors which can occur and they involve the following so-called HTTP status codes - 400, when your Internet browser sends a bad request to the hosting server and it cannot be processed; 401, if you're supposed to log in to see a webpage, but you haven't done so yet; 403, if you don't have a permission to see a certain page; and 404, in case a link which you have clicked leads to a file which does not exist. In any of these cases, website visitors will be able to see your custom made content rather than a generic error page.
Custom Error Pages in Cloud Website Hosting
You shall be able to set up custom made error pages for any of your domains or subdomains. The feature is supported by all cloud website hosting solutions that we provide, so after you log in to your Hepsia CP and check out the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that"ll appear, you may select the type of error page that should appear - a default one from our system, a typical Apache web server page or a personalized one. For the aforementioned option, you have to assign the URL to the page, so if you use customized pages, you have to upload the files in 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 every error type. The actual syntax can be seen in our Knowledge Base, to help you use this feature even if you don't have any previous experience.