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.
Procedure
- Start the Application Server Toolkit.
- Optional: Open the J2EE perspective to work with J2EE projects. Click Window > Open Perspective > Other > J2EE.
- In the J2EE view, select the Web module to open its deployment descriptor.
- On the Overview page, find the WebSphere bindings section.
- Specify the virtual host name.
- Save the deployment descriptor.
Application bindings
Related tasks
Defining data sources for entity beans
Binding EJB and resource references