When a page on your Internet site doesn't load, an error message will be displayed to the website visitor. Since there are different errors, there are different pages which will show up, but what is common for all of them is that they're generic and almost certainly will have practically nothing that is similar to the layout of your site, which may be irritating for any website visitor. This is the primary reason why website hosting companies have introduced a function named Custom Error Pages. For a range of different errors, site visitors will see your customized content, which may be informative or funny, depending on your taste, and which shall match the overall design and style of your Internet site, so the pages shall not seem like they aren't part of your site at all. You may use this option for a variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Cloud Hosting

You will be able to set up customized error pages for any of your domains or subdomains. The function is supported by all cloud hosting plans which we offer, so after you log in to the Hepsia Control Panel and go to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up which will appear, you could choose the kind of error page which should show up - a default one from our system, a conventional Apache server page or a customized one. For the aforementioned alternative, you have to specify the URL to the page, so if you use personalized pages, you need to upload the files in your hosting account first. Another way is to use an .htaccess file located inside the domain or subdomain folder with a line for each error type. The actual syntax can be found in our Knowledge Base, so that you can use this feature even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

All of our semi-dedicated packages support custom made error pages, so you will be able to employ this function for any domain or subdomain hosted in your account. All it takes to do this is to navigate to the Hosted Domains section of the Hepsia CP, to click the Edit button linked to the specific domain/subdomain and to type the link to the custom file. You are able to do this independently for each error type. You shall be able to switch back to a default error page anytime if necessary and the change shall take effect right away. Another way to get the exact same result is to place an .htaccess file in the domain or subdomain folder related to the site which you want to change and to enter several lines of code inside it. If you want to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, thus you shall not need any programming skills or previous experience.