Custom Error Pages
Get familiar with website error pages. Discover when they show up and why you need to configure your own custom error pages.
If a certain page on an Internet site doesn't load for some reason or if a link is not functioning, the website visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the site, that could make the visitor leave the website. A possible solution in such a case is a function made available from some web hosting service providers - the ability to set up your own customized error pages that shall have exactly the same design and style as your site and that can contain any text or images you want dependent upon the specific error. There are four popular errors that may occur and they involve the following so-called HTTP status codes - 400, when your web browser sends a bad request to the server and it cannot be processed; 401, in case you are supposed to log in to see a page, but you haven't done so yet; 403, if you don't have a permission to see a particular page; and 404, in case a link that you've clicked leads to a file that does not exist. In any of these cases, website visitors shall be able to see your customized content instead of a generic error page.
Custom Error Pages in Cloud Website Hosting
You can set up customized error pages for any of your domains or subdomains. The feature is supported by all cloud website hosting package which we provide, so as soon as you log in to the Hepsia Control Panel 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 show up, you can select the sort of error page that 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 will need to specify the URL to the page, so when you use custom pages, you must upload the files inside your web hosting account first. An alternative way is to use an .htaccess file placed inside the domain or subdomain folder with a line for each error type. The actual syntax can be seen in our Knowledge Base, so you can use this feature even if you do not have any previous experience.