Custom Error Pages
Learn what a Custom Error Page is, what function does it have and the way to create one.
If a certain page on a site doesn't load for some reason or if a link is broken, the site visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the Internet site, that can make the visitor leave the site. A possible solution in this case is a feature offered by some hosting providers - the option to set your own custom-made error pages that shall have exactly the same layout as your website and which may contain any text or images that you would like dependent upon the particular error. There are 4 popular errors that can take place and they involve these particular so-called HTTP status codes - 400, when your browser sends a bad request to the server and it can't 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 a permission to see a certain page; and 404, if a link that you have clicked leads to a file that doesn't exist. In each of these situations, visitors shall be able to see your custom made content rather than a generic error page.
Custom Error Pages in Shared Web Hosting
You will be able to set up personalized error pages for any of your domains or subdomains. The function is supported by all shared web hosting package that we offer, so when you log in to your Hepsia Control Panel and navigate to the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that will show up, you can choose the sort of error page which should show up - a default one from our system, a typical Apache server page or a custom one. For the last mentioned option, you need to specify the URL to the page, so if you use custom made pages, you must upload the files inside your Internet hosting account first. An alternative way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for each error type. The exact syntax can be found in our Knowledge Base, to help you use this feature even if you don't have any previous experience.