If a particular page on a website doesn't load for some reason or if a link is not working, the site visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the site, which could make the visitor leave your site. A solution in cases like this is a feature offered by some hosting providers - the option to set up your own customized error pages which will have exactly the same design as your site and which could contain any text or images that you'd like depending on the particular error. There are 4 common errors that could take place and they involve these particular so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the hosting server and it cannot be processed; 401, if you're supposed to log in to see some page, but you have not done so yet; 403, if you do not have an authorization to see a certain page; and 404, in case a link which you have clicked leads to a file that doesn't exist. In any of these scenarios, website visitors shall be able to see your personalized content instead of a generic error page.
Custom Error Pages in Website Hosting
You shall be able to set up custom error pages for any of your domains or subdomains. The function is supported by all website hosting plans that we provide, so as soon as you log in to your Hepsia CP and go to the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that"ll show up, you may select the kind of error page that should appear - a default one from our system, a standard Apache server page or a personalized one. For the aforementioned option, you'll have to assign the URL to the page, so if you use custom made pages, you should 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 every error type. The actual syntax can be located in our Knowledge Base, so that you can use this feature even if you do not have any previous experience.