Each time a page on your Internet site does not load, an error message shall be shown to the site visitor. Because there are different errors, there are different pages that will show up, but what's common for all of them is that they're generic and probably will have absolutely nothing that resembles the layout of your site, which may be annoying for any site visitor. This is the main reason why hosting companies have introduced a function known as Custom Error Pages. For a number of different errors, visitors shall see your custom content, which could be informative or humorous, based on your choice, and that will match the style and design of your website, so the pages won't appear as if they are not 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 Shared Hosting

You will 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 as soon as you log in to your Hepsia Control Panel and navigate to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that will show up, you may select the type of error page that should appear - a default one from our system, a standard Apache web server page or a personalized one. For the last mentioned alternative, you'll have to specify the URL to the page, so if you use custom made pages, you need to upload the files inside your Internet hosting account first. One other way is to use an .htaccess file positioned in the domain or subdomain folder with a line for every 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 Servers

Our semi-dedicated plans support tailor-made error pages, thus you'll be able to employ this function for any domain or subdomain hosted inside your account. All it takes to do that is to visit the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button related to the given domain/subdomain and to input the link to the custom file. You'll be able to do this separately for each and every error type. You shall be able to switch back to a standard error page whenever you want if necessary and the change will take effect instantly. An alternative way to get the same result is to place an .htaccess file in the domain or subdomain folder associated with the site which you want to edit and to enter several lines of code within it. If you'd like to try this method, you could copy and paste the required code from our Knowledge Base article on custom error pages, which means that you shall not need any computer programming skills or previous experience.