WebSphere Application Server Network Deployment, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Selecting virtual hosts - Map virtual hosts for Web modules settings

Use this panel to specify virtual hosts for Web modules contained in your application. Web modules can be installed on the same virtual host or dispersed among several virtual hosts.

To view this administrative console panel, click Applications > Enterprise Applications > application_name > Map virtual hosts for Web modules. This panel is the same as the Map virtual hosts for Web modules panel on the application installation and update wizards.

On this panel, each Web module must map to a previously defined virtual host, identified under Virtual host. You can see information on previously defined virtual hosts by clicking Environment > Virtual Hosts in the administrative console. Virtual hosts enable you to associate a unique port with a module or application. The aliases of a virtual host identify the port numbers defined for that virtual host. A port number specified in a virtual host alias is used in the URL that is used to access artifacts such as servlets and JavaServer Pages (JSP) files in a Web module. For example, the alias myhost:8080 is the host_name:port_number portion of the URL http://myhost:8080/servlet/snoop.

The default virtual host setting usually is default_host, which provides several port numbers through its aliases:

80
An internal, insecure port used when no port number is specified
9080
An internal port
9443
An external, secure port

Unless you want to isolate your Web module from other modules or resources on the same node (physical machine), default_host is a suitable virtual host for your Web module.

In addition to default_host, WebSphere Application Server provides admin_host, which is the virtual host for the administrative console system application. admin_host is on port 9060. Its secure port is 9043.

To change a mapping:

  1. In the list of mappings, select the Select check box beside each Web module that you want mapped to a particular virtual host.
  2. From the Virtual host drop-down list, select the desired virtual host. If you selected more than one virtual host in step 1:
    1. Expand Apply Multiple Mappings.
    2. Select the desired virtual host from the Virtual Host drop-down list.
    3. Click Apply.
  3. Click OK.
Web module

Specifies the name of a Web module in the installed (or deployed) application that you selected on the Enterprise Applications page.

Virtual host

Specifies the name of the virtual host to which the Web module currently is mapped.

Expanding the drop-down list displays a list of previously defined virtual hosts. To change a mapping, select a different virtual host from the list.




Related concepts
Virtual hosts
Why you would use virtual hosting
The default virtual host (default_host)
How requests map to virtual host aliases

Related tasks
Mapping virtual hosts for Web modules
Configuring an application

Related reference
Administrative console buttons
Enterprise application settings

Reference topic    

Terms of Use | Feedback

Last updated: Mar 17, 2005 4:28:29 AM CST
http://publib.boulder.ibm.com/infocenter/ws60help/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/urun_rapp_mapvhosts.html

© Copyright IBM Corporation 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)