When we copy a WAR file to the application base directory of Apache Tomcat, we usually expect the web application to be deployed. In other words, we expect the website to be immediately available on the World Wide Web. However, this doesn’t always have to be the case. The autoDeply attribute on the Host element determines if the web application will be available for access on the internet.