If a particular page on a site does not load for some reason or if a link is not functioning, 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 could make the visitor leave the website. A solution in this case is a feature offered by some web hosting companies - the option to set your own personalized error pages which will have exactly the same design as your website and which may contain any text or images which you want depending on the particular error. There are four popular errors that can take place and they involve the following so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the hosting server and it can't be processed; 401, in case you are supposed to log in to see some page, but you have not done so yet; 403, if you do not have a permission to see a specific page; and 404, in case a link which you've clicked leads to a file which doesn't exist. In each of these cases, website visitors will be able to see your custom made content as opposed to a generic error page.
Custom Error Pages in Shared Website Hosting
You can set up custom error pages for any of your domains or subdomains. The feature is supported by all shared website hosting solutions which we provide, so once you log in to your Hepsia CP and visit the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that"ll appear, you may choose the sort of error page which should show up - a default one from our system, a typical Apache web server page or a custom one. For the latter alternative, you need to specify the URL to the page, so when you use customized pages, you must upload the files in your website hosting account first. Another way is to use an .htaccess file placed 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, so you can use this function even if you don't have any previous experience.
Custom Error Pages in Semi-dedicated Hosting
When you host your sites in a semi-dedicated server account from us, you could set tailor-made error pages for each of them with ease via our custom Hepsia hosting Control Panel. With just a couple of mouse clicks inside the Hosted Domains section, you could change the default setting from a system page to a custom made one for any of the four error types. All you need to do is supply a link to every file you have uploaded before that and then save the change. If needed, you'll be able to revert this customization anytime and in exactly the same way. If you wish, you could use an .htaccess file too. It should be created/uploaded inside the domain or subdomain folder linked to the internet site whose error pages you would want to alter and the content for this type of file can be found in our Help article on this matter.