Adding an Instance (Host)

See Also

The Host element represents a virtual host, which is an association of a network name for a server with the particular server on which Tomcat is running. You can define more than one Host within a Tomcat installation. Within each Host, you can nest Context elements for the web modules associated with that Host.

To add a Host:

  1. On the Runtime tab of the Explorer, expand the Installed Servers node.
  2. Expand the Tomcat node, then right-click on the node for the Tomcat installation to which you want to add the Host.
  3. Choose Add New Host from the contextual menu.
  4. In the Add New Host dialog box, select a Service from the list, type a name for the new Host, and provide the application base directory for the new Host. This is the pathname of a directory that might contain web modules to be deployed on this Host.
  5. Click OK.

A new Host node appears under the selected Tomcat installation on the Runtime tab in the Explorer. You can now set properties for the Host.

See Also
Tomcat Instance (Host) Node
Setting Tomcat Instance (Host) Properties

Legal Notices