If a certain page on a website does not load for some reason or in case a link is not working, the website visitor will see an error page with some generic message. The page will have nothing in common with the rest of the Internet site, that can make the visitor leave your website. A potential solution in such a case is a function offered by some website hosting companies - the option to set your own customized error pages which shall have the exact same layout as your Internet site and that may contain any text or images that you'd like dependent upon the particular error. There are 4 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, in case you are supposed to log in to see a web page, but you have not done this yet; 403, if you do not have an authorization to view a specific page; and 404, in case a link that you've clicked leads to a file that doesn't exist. In any of these scenarios, site visitors will be able to see your customized content as opposed to a generic error page.
Custom Error Pages in Cloud Hosting
You can set up custom made error pages for each of your domains or subdomains. The function is supported by all cloud hosting solutions that we provide, so as soon as you log in to the Hepsia CP and visit the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up which will be displayed, you could pick the kind of error page that should appear - a default one from our system, a conventional 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 customized pages, you need to upload the files inside your hosting account first. An alternative way is to use an .htaccess file located inside the domain or subdomain folder with a line for each error type. The precise syntax can be located in our Knowledge Base, so that you can use this function even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Hosting
All of our semi-dedicated hosting support customized error pages, so you'll be able to use this function for each domain or subdomain hosted inside your account. All it takes to do that is to visit the Hosted Domains section of the Hepsia CP, to click the Edit button associated with the particular domain/subdomain and then to input the link to the custom-made file. You are able to do this separately for every error type. You shall be able to switch back to a default error page anytime if necessary and the change shall take effect right away. Another way to achieve the exact same result is to place an .htaccess file in the domain or subdomain folder associated with the website which you'd like to change and to enter several lines of program code inside it. If you want to try this method, you could copy and paste the needed code from our Knowledge Base article on custom error pages, which means that you will not need any coding skills or previous experience.