If a specific page on a website does not load for some reason or in case a link is broken, the 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 may make the visitor leave your Internet site. A solution in such a case is a function offered by some website hosting providers - the option to set your own personalized error pages which will have the same style and design as your site and which can contain any images or text which you want based on the specific error. There are four well-known errors which may 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 server and it can't be processed; 401, if you are supposed to log in to see some web page, but you have not done so yet; 403, if you don't have an authorization to view a particular page; and 404, when a link that you've clicked leads to a file that does not exist. In each of these cases, visitors will be able to see your customized content rather than a generic error page.
Custom Error Pages in Shared Hosting
You can set up custom made error pages for any of your domains or subdomains. The function is supported by all shared hosting
plans that we provide, so after you log in to the Hepsia CP and navigate to the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up which will be displayed, you may pick the kind of error page which should show up - a default one from our system, a conventional Apache web server page or a customized one. For the latter option, you'll have to assign the URL to the page, so if you use custom pages, you need to upload the files inside your web hosting account first. An alternative way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for each and 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.
Custom Error Pages in Semi-dedicated Servers
If you host your web sites in a semi-dedicated server
account from us, you could set tailor-made error pages for any of them easily through our in-house built Hepsia hosting CP. With a few clicks inside the Hosted Domains section, you are able to change the default setting from a system page to a custom made one for any of the 4 error types. All you must do is provide a link to every file that you have uploaded before that and then save the change. If needed, you'll be able to revert this modification whenever you want and in exactly the same way. If you prefer, you may use an .htaccess file as well. It must be created/uploaded in the domain or subdomain folder associated with the website whose error pages you would want to modify and the content for this sort of file can be found in our Help article about this matter.