If a page on your website does not load, an error message will be shown to the site visitor. Because there are different errors, there are different pages that'll display, but what is typical for all of them is that they're generic and most likely shall have absolutely nothing that is similar to the layout of your site, which can be frustrating for any site visitor. This is the reason why hosting service providers have introduced a function referred to as Custom Error Pages. For a variety of different errors, visitors will see your custom content, which can be informative or witty, depending on your choice, and which will match the style and design of your site, so the pages will not seem like they aren't part of your Internet site 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 Cloud Web Hosting
You shall be able to set up customized error pages for all of your domains or subdomains. The function is supported by all cloud web hosting
solutions which we provide, so when you log in to your Hepsia Control Panel and check out the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that"ll show up, you could choose the sort of error page that should show up - a default one from our system, a conventional Apache server page or a personalized one. For the aforementioned alternative, you'll have to assign the URL to the page, so when you use custom made pages, you must upload the files in your website hosting account first. One other way is to use an .htaccess file positioned in the domain or subdomain folder with a line for each 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 Hosting
All of our Linux semi-dedicated hosting
support custom made error pages, so you will be able to employ this function for every single domain or subdomain hosted in your account. All it will take to do that is to visit the Hosted Domains section of the Hepsia Control Panel, to click the Edit button linked to the specific domain/subdomain and to enter the link to the custom-made file. You could do this independently for each and every error type. You'll be able to switch back to a generic error page whenever you want if needed and the change will take effect straightaway. Another way to get the very same result is to place an .htaccess file inside the domain or subdomain folder associated with the site that you would like to change and to enter several lines of code in it. If you need to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, hence you won't need any coding skills or prior experience.