If 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 that'll display, but what's common for all of them is that they are generic and most likely will have absolutely nothing that is similar to the layout of your website, which may be irritating for any site visitor. This is the primary reason why website hosting companies have introduced a feature named Custom Error Pages. For a wide variety of different errors, website visitors will see your unique content, which can be informative or witty, in accordance with your preference, and which shall match the layout of your site, so the pages shall not seem like they're not part of your website 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 Website Hosting
The customized error pages function is offered with each shared website hosting package we offer and you will be able to replace the generic pages with your own with no more than a few clicks inside your Hepsia website hosting CP. You shall have to produce the actual files and to upload them to your account, and then to set them for a specific domain or subdomain via the Hosted Domains section of the Hepsia Control Panel. You could do this for every single Internet site hosted inside the account independently, so that each set of customized pages will have the exact same style and design as the website it's part of. If needed, you can always revert back to a default page from our system or to the default Apache server page. A different way to set custom error pages is to create an .htaccess file inside the domain/subdomain root folder and to add a few lines in it. If you have never done this before, you may simply copy the required program code from our Help article on the subject.
Custom Error Pages in Semi-dedicated Hosting
All our semi-dedicated hosting packages support custom made error pages, so you'll be able to use this function for each domain or subdomain hosted in your account. All it will take to do this is to visit the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button associated with the specific domain/subdomain and then to type the link to the custom file. You can do this individually for each error type. You will be able to switch back to a generic error page anytime if necessary and the change will take effect right away. An alternative way to achieve the same result is to put an .htaccess file inside the domain or subdomain folder of the site which you'd like to edit and to enter a few lines of program code inside it. If you want to try this method, you could copy and paste the needed code from our Knowledge Base article on custom error pages, so you shall not need any programming skills or previous experience.