If a page on your site does not load, an error message shall be shown to the visitor. Since there are different errors, there are different pages that will display, but what's standard for all of them is that they're generic and most likely will have nothing that resembles the design of your Internet site, which could be frustrating for any visitor. That is the reason why web hosting service providers have introduced a feature known as Custom Error Pages. For a variety of different errors, visitors shall see your custom made content, which can be informative or funny, in accordance with your personal preference, and that will match the overall layout of your website, so the pages shall not seem like they aren't part of your site at all. You may use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Website Hosting

You will be able to set up custom error pages for all of your domains or subdomains. The function is supported by all website hosting solutions which we offer, so once you log in to your Hepsia CP and check out the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that will be displayed, you could pick the kind of error page which should appear - a default one from our system, a typical Apache web server page or a customized one. For the last mentioned option, you'll have to assign the URL to the page, so when you use personalized pages, you should upload the files inside your hosting account first. Another way is to use an .htaccess file placed inside the domain or subdomain folder with a line for every error type. The correct 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

All our semi-dedicated packages support custom error pages, so you'll be able to use this function for each and every domain or subdomain hosted in your account. All it will take to do this is to navigate to the Hosted Domains section of the Hepsia CP, to click the Edit button related to the specific domain/subdomain and then to type in the link to the custom file. You could do this independently for every error type. You will be able to switch back to a default error page anytime if necessary and the change shall take effect immediately. An alternative way to get the exact same result is to set an .htaccess file inside the domain or subdomain folder associated with the Internet site which you want to change and to enter a few lines of code inside it. If you want to try this method, you can copy and paste the needed code from our Knowledge Base article on custom error pages, hence you will not need any programming skills or previous experience.