Whenever a page on your Internet site does not load, an error message will be shown to the website visitor. As there are different errors, there are different pages which will appear, but what is standard for all of them is that they are generic and in all probability will have nothing that is similar to the layout of your website, which may be aggravating for any website visitor. That is the reason why website hosting service providers have introduced a function called Custom Error Pages. For a range of different errors, visitors will see your customized content, which may be informative or amusing, in accordance with your taste, and that will match the design and style of your site, so the pages shall not look like they're not part of your website at all. You could use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Shared Web Hosting
You can set up custom error pages for each of your domains or subdomains. The function is supported by all shared web hosting solutions which we offer, so once you log in to the Hepsia Control Panel and visit 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 could select the type of error page which should appear - a default one from our system, a standard Apache web server page or a customized one. For the last mentioned option, you will need 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 every error type. The precise syntax can be found in our Knowledge Base, to help you use this function even if you don't have any previous experience.
Custom Error Pages in Semi-dedicated Hosting
All of our Linux semi-dedicated hosting support personalized error pages, so you will be able to use this function for each domain or subdomain hosted inside your account. All it will take to do this is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click the Edit button linked to the specific domain/subdomain and then to type in the link to the custom file. You can do this independently for each error type. You'll be able to switch back to a default error page at any time if needed and the change will take effect right away. An alternative way to get the same result is to place an .htaccess file inside the domain or subdomain folder of the website which you want 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 required code from our Knowledge Base article on custom error pages, so you won't need any computer programming skills or prior experience.