Binding Web modules to virtual hosts

Binding Web modules to virtual hosts

Web modules must be bound to specific virtual hosts. By associating a Web module to a specific host, you are specifying that all requests that match this virtual host must be handled by the Web application containing the binding.

  1. Start the Application Server Toolkit.

  2. Optional: Open the J2EE perspective to work with J2EE projects. Click Window > Open Perspective > Other > J2EE .

  3. In the J2EE view, select the Web module to open its deployment descriptor.

  4. On the Overview page, find the WebSphere bindings section.

  5. Specify the virtual host name.

  6. Save the deployment descriptor.



Related concepts
Application bindings

Related tasks
Defining data sources for entity beans