If a particular page on a website doesn't load for some reason or in case a link is broken, the site visitor shall 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 your website. A potential solution in this case is a feature offered by some hosting providers - the ability to set up your own custom error pages which shall have identical design and style as your website and which could contain any images or text that you would like depending on the particular error. There are four common errors which could occur and they involve these particular so-called HTTP status codes - 400, when your Internet browser sends a bad request to the hosting server and it can't be processed; 401, if you're supposed to log in to see a webpage, but you haven't done so yet; 403, if you do not have an authorization to see a particular page; and 404, in case a link that you've clicked leads to a file which does not exist. In all of these scenarios, visitors will be able to see your custom made content as opposed to a generic error page.
Custom Error Pages in Shared Hosting
You shall be able to set up personalized 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 Control Panel and navigate to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that will show up, you can select the type of error page which should show up - a default one from our system, a standard Apache web server page or a customized one. For the aforementioned option, you will need to assign the URL to the page, so if you use custom pages, you have to upload the files inside your website hosting account first. Another way is to use an .htaccess file placed in the domain or subdomain folder with a line for each and every error type. The correct syntax can be located in our Knowledge Base, to help you use this feature even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Servers
When you host your websites in a semi-dedicated server account from our company, you may set tailor-made error pages for any of them easily using our custom 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 each of the four error types. All you need to do is supply a link to every single file which you have uploaded before that and then save the change. If required, you shall be able to revert this change whenever you want and in exactly the same way. If you'd like, you can use an .htaccess file too. It must be created/uploaded inside the domain or subdomain folder associated with the site whose error pages you would want to modify and the content for this sort of file can be found in our Help article on this matter.