If a page on your website doesn't load, an error message shall be displayed to the site visitor. Since there are different errors, there are different pages that will show up, but what is common for all of them is that they're generic and most likely shall have nothing in common with the design of your site, which could be irritating for any site visitor. This is the reason why web hosting providers have introduced a function known as Custom Error Pages. For a variety of different errors, visitors shall see your customized content, which could be informative or witty, based on your choice, and that will match the overall design and style of your website, so the pages will not look like they aren't part of your website at all. You could use this option for a variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Web Hosting

You can set up custom made error pages for any of your domains or subdomains. The function is supported by all web hosting solutions that we provide, so once you log in to the Hepsia Control Panel and visit the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will appear, you can pick the kind of error page which should show up - a default one from our system, a conventional Apache server page or a personalized one. For the latter option, you'll have to assign the URL to the page, so if you use personalized pages, you need to upload the files in your web hosting account first. Another way is to use an .htaccess file located in the domain or subdomain folder with a line for every error type. The actual syntax can be seen in our Knowledge Base, so that you can use this feature even if you don't have any previous experience.