If a certain page on a website does not load for some reason or if a link is broken, the visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the Internet site, that may make the visitor leave your site. A solution in this case is a feature offered by some hosting service providers - the option to set up your own custom error pages that will have the exact same layout as your Internet site and which can contain any text or images you want based on the particular error. There are 4 popular errors that could occur and they involve these so-called HTTP status codes - 400, when your Internet browser sends a bad request to the server and it can't be processed; 401, if you are supposed to log in to see a webpage, but you haven't done so yet; 403, if you do not have a permission to see a specific page; and 404, when a link which you've clicked leads to a file which doesn't exist. In any of these situations, visitors shall be able to see your customized content as opposed to a generic error page.
Custom Error Pages in Shared Hosting
You will be able to set up custom error pages for each of your domains or subdomains. The function is supported by all shared hosting solutions that we offer, so once you log in to your Hepsia CP and check out the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that will appear, you could choose the kind of error page that should show up - a default one from our system, a typical Apache web server page or a customized one. For the latter alternative, you must assign the URL to the page, so when you use custom made pages, you must 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 every error type. The precise syntax can be located in our Knowledge Base, so you can use this feature even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Hosting
When you host your sites in a semi-dedicated server account with our company, you may set custom error pages for each of them with ease through our custom Hepsia hosting CP. With just a couple of mouse clicks in the Hosted Domains section, you are able to modify the default setting from a system page to a customized one for any of the four error types. All you have to do is supply a link to each file you have uploaded before that and then save the change. If required, you shall be able to revert this modification whenever you want and in exactly the same way. If you'd like, you may use an .htaccess file too. It must be created/uploaded within the domain or subdomain folder associated with the internet site whose error pages you would want to change and the content for this sort of file can be found in our Help article about this matter.