Custom Error Pages
Learn what a Custom Error Page is, what function does it have and ways to set one.
If a page on your website doesn't load, an error message shall be displayed to the website visitor. As there are different errors, there are different pages that'll display, but what is common for all of them is that they're generic and probably will have nothing in common with the layout of your website, which may be annoying for any site visitor. That is the main reason why website hosting service providers have introduced a function called Custom Error Pages. For a number of different errors, website visitors will see your custom made content, which may be informative or funny, in accordance with your preference, and which shall match the style and design of your Internet site, so the pages shall not seem like they aren't part of your website at all. You may use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Shared Web Hosting
You'll be able to set up custom made error pages for all of your sites without difficulty when you use any of our shared web hosting
. This can easily be done from the Hosted Domains part of the Hepsia Control Panel, provided with all accounts and once you go there, you'll be able to set your custom made pages independently for any domain or subdomain. You need to upload the files to your account in advance and input the links to them during the process. This feature may be de-activated anytime and the options you'll be able to choose from are a generic page from our system or a default Apache server page. Personalized error pages can be set with an .htaccess file as well. The file should be put in the domain or subdomain folder and it should incorporate some system code and links to the pages. If you are not tech-savvy, you could copy the whole content needed for the file from our Help section.
Custom Error Pages in Semi-dedicated Hosting
Incorporating your own pages for any of the 4 error types to any web site hosted inside a semi-dedicated server
account with us will be very easy and shall not take more than a few clicks. As soon as you upload the files inside your account, you can navigate to the Hosted Domains section of your Hepsia CP and edit each of the domains and subdomains listed there using an intuitive interface with drop-down navigation. You could select what page should show up for each and every error type. The choices are a standard Apache server page or a page from our system, and personalized pages. If you pick the last option, you need to type in the link to each and every page in your account, then save the change. The link or the sort of page which will be shown if a user encounters an error can be changed at any time. In case you are more experienced, you could use an .htaccess file to set customized error pages as well, as an alternative to using our integrated generator tool, and if you choose this option, the file should be positioned inside the root directory of a specific domain or subdomain.