Chapter 7. Administration of WebSphere processes 303
You can also specify a timeout value. If the timeout expires and all servers are not
started, the state of the cluster is reported without waiting any longer for the servers to
start.
Stop cluster
You can also specify a timeout value. If the timeout expires and all servers are not started,
the state of the cluster is reported without waiting any longer for the servers to start.
7.7 Working with virtual hosts
A virtual host is a configuration enabling a single host machine to resemble multiple host
machines. It consists of a host alias or aliases, which consist of a host name and a port
number. If you specify an asterisk (*) as a host name, all host names and IP addresses that
the web server can receive are mapped to that virtual host.
The following virtual hosts are defined during installation:
The
default_host virtual host is intended for access to user applications, either through the
HTTP transport or through a web server.
Host aliases in this virtual host generally include the ports required to access applications
from the web server and directly to the application server. Examples are the
wc_defaulthost, wc_defaulthost_secure, sip_defaulthost, and sip_defaulthost_secure
ports for application servers and ports 80 and 443 for requests through the web server.
The
admin_host virtual host is used for access to the WebSphere administrative console.
At installation time, the host is configured to match requests on the wc_adminhost and
wc_adminhost_secure ports for the stand-alone server or deployment manager.
The
proxy_host virtual host includes default port definitions, port 80 and 443, which are
typically initialized as part of the proxy server initialization. Use this proxy host as
appropriate with routing rules associated with the proxy server.
When you install an application, you associate a virtual host with each web module in the
application. By associating a virtual host with a web module, requests that match the host
aliases for the virtual host must be processed by servlets in this web module. The web server
plug-in also checks the URI of the request against the URIs for the web module to determine
whether the web module can handle them or not. You can view or modify the virtual host to
which a web module is assigned by clicking Applications Application Types
WebSphere enterprise applications app_name [Web Module Properties] Virtual
hosts.
A single virtual host can be associated with multiple web modules as long as each application
has unique URIs. If there are duplicate URIs among applications, different virtual hosts must
be created and associated with each of the applications.
A default virtual host is associated with a web container when you create the application
server. To find the default virtual host, click Servers Server Types WebSphere
Note: For many users, creating virtual hosts is unnecessary because the default_host
that is provided is sufficient.
For an example of defining and using a new virtual host, see 23.7, “Deploying the
application” on page 855.

Get WebSphere Application Server V8.5 Administration and Configuration Guide for the Full Profile now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.