If a page on your Internet site doesn't load, an error message will be displayed to the website visitor. Because there are different errors, there are different pages which will show up, but what is standard for all of them is that they're generic and in all probability shall have practically nothing that resembles the layout of your site, which may be frustrating for any website visitor. This is the reason why hosting service providers have introduced a feature called Custom Error Pages. For a wide variety of different errors, website visitors shall see your custom content, which may be informative or humorous, based on your taste, and which will match the design and style of your Internet site, so the pages won't look like they aren't part of your Internet site at all. You could use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Hosting

You will be able to set up custom made error pages for any of your domains or subdomains. The function is supported by all hosting package that we provide, so once you log in to the Hepsia CP 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 be displayed, you may pick the sort of error page that should appear - a default one from our system, a typical Apache server page or a personalized one. For the last mentioned option, you need to assign the URL to the page, so when you use custom made pages, you have 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 exact syntax can be located in our Knowledge Base, to help you use this feature even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Servers

Our semi-dedicated servers support tailor-made error pages, so you shall be able to use this function for every single domain or subdomain hosted in your account. All it will take to do that is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button linked to the given domain/subdomain and then to enter the link to the custom-made file. You can do this separately for every error type. You shall be able to switch back to a default error page whenever you want if required and the change shall take effect immediately. An alternative way to get the very same result is to put an .htaccess file inside the domain or subdomain folder related to the web site which you'd like to change and to input several lines of code inside it. If you'd like to try this method, you can copy and paste the necessary code from our Knowledge Base article on custom error pages, therefore you won't need any computer programming skills or previous experience.