Custom Error Pages
Find out what a Custom Error Page is, what function does it have and the way to set up one.
If you have looked at loads of sites, you've probably come across some error message from time to time. An error may occur if the server can't process a request (Error 400), if you have to log in in order to see some content and you have not done so (Error 401), if you aren't allowed to access a page (Error 403) or when a link leads to a file which isn't on the server (Error 404). Receiving this type of messages can often be aggravating since the pages have nothing in common with the actual website. That’s why some hosting providers permit you to set your own error pages that will match the style of your own website and which could have any content which you want - details why the error has occurred, a suggestion how to proceed or even some funny remark. This kind of function can help you keep the visitor on the website whatever the error and the reason for it.
Custom Error Pages in Shared Hosting
You'll be able to set up personalized error pages for each of your websites without difficulty if you use any of our Linux shared hosting packages
. This could be done through the Hosted Domains part of the Hepsia Control Panel, provided with all accounts and once you go there, you can set your customized pages independently for any domain or subdomain. You should upload the files to your account before you start and input the links to them during the process. This feature can be de-activated anytime and the options you'll be able to select from are a standard page from our system or a default Apache web server page. Custom made error pages can be set with an .htaccess file too. The file should be placed in the domain or subdomain folder and it should include some system code and links to the pages. If you are not tech-savvy, you can copy the entire content needed for the file from our Help section.
Custom Error Pages in Semi-dedicated Hosting
Our Linux semi-dedicated packages
support tailor-made error pages, thus you'll be able to employ this feature for any domain or subdomain hosted in your account. All it takes to do this is to visit 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 are able to do this separately for each and every error type. You will be able to switch back to a generic error page whenever you want if necessary and the change shall take effect at once. A different way to get the same result is to set an .htaccess file inside the domain or subdomain folder associated with the website that you want to change and to type in several lines of code within it. If you'd like to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, therefore you'll not need any programming skills or previous experience.