Whenever a page on your Internet site does not load, an error message shall be displayed to the visitor. Since there are different errors, there are different pages which will display, but what's standard for all of them is that they are generic and in all probability shall have nothing that resembles the layout of your Internet site, which can be annoying for any site visitor. That is the primary reason why website hosting companies have introduced a feature called Custom Error Pages. For a variety of different errors, website visitors shall see your custom made content, which may be informative or witty, based on your choice, and which will match the overall layout of your site, so the pages won't seem like they're not part of your site at all. You can use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Website Hosting
You'll be able to set up customized error pages for each of your domains or subdomains. The feature is supported by all website hosting solutions which we offer, so after you log in to the Hepsia Control Panel and check out the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that"ll appear, you could pick the type of error page which should appear - a default one from our system, a standard Apache web server page or a custom one. For the latter alternative, you need to assign the URL to the page, so when you use custom pages, you have to upload the files inside your web hosting account first. One other way is to use an .htaccess file placed inside the domain or subdomain folder with a line for every error type. The actual syntax can be found 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
All of our Linux semi-dedicated hosting service support custom made error pages, thus you'll be able to employ this function for any 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 Control Panel, to click the Edit button associated with the given domain/subdomain and then to type in the link to the custom file. You'll be able to do this individually for each and every error type. You shall be able to switch back to a generic error page anytime if necessary and the change shall take effect instantly. A different way to get the very same result is to place an .htaccess file inside the domain or subdomain folder related to the Internet site which you want to modify and to type in several lines of code inside it. If you need to try this method, you could copy and paste the necessary code from our Knowledge Base article on custom error pages, so you won't need any programming skills or previous experience.