When a page on your website does not load, an error message shall be displayed to the visitor. Because there are different errors, there are different pages that will show up, but what's typical for all of them is that they are generic and most likely shall have nothing in common with the design of your Internet site, which may be annoying for any website visitor. This is the reason why website hosting service providers have introduced a feature called Custom Error Pages. For a range of different errors, website visitors will see your custom content, which can be informative or amusing, depending on your personal preference, and which shall match the overall design and style of your site, so the pages won't seem like they aren't part of your Internet site at all. You may use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Hosting

You'll be able to set up custom error pages for any of your domains or subdomains. The function is supported by all shared hosting package that we offer, so after you log in to your Hepsia Control Panel and navigate to the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up which will appear, you could pick the sort of error page that should show up - a default one from our system, a typical Apache server page or a custom one. For the latter option, you have to specify the URL to the page, so if you use personalized pages, you must upload the files inside your hosting account first. One other way is to use an .htaccess file located in the domain or subdomain folder with a line for each error type. The actual syntax can be seen in our Knowledge Base, so you can use this function even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

Our semi-dedicated hosting services support tailor-made error pages, so you will be able to use this feature for any domain or subdomain hosted in your account. All it takes to do this is to check out the Hosted Domains section of the Hepsia Control Panel, to click the Edit button linked to the specific domain/subdomain and to type the link to the custom file. You can do this separately for each error type. You will be able to switch back to a default error page whenever you want if needed and the change shall take effect at once. A different way to achieve the same result is to place an .htaccess file inside the domain or subdomain folder related to the website which you'd like to change and to type in several lines of code within it. If you want to try this method, you could copy and paste the necessary code from our Knowledge Base article on custom error pages, hence you'll not need any programming skills or prior experience.