In the tree component, expand the Configuration node.
Expand the HTTP Service node.
Select the Virtual Servers node.
On the Virtual Servers page, click New.
The Create Virtual Server page appears.
In the ID field, type a unique name for the virtual server.
This value is used to identify the virtual server internally. It is not exposed to HTTP clients. The host names that are exposed to HTTP clients must be specified in the Hosts field.
In the Hosts field, type the host name or names for the machine on which the server is running.
Use either actual or virtual host names that are registered with the DNS server for your network (and, on a UNIX system, in your /etc/hosts file).
In the area opposite State, select either On, Off, or Disabled.
The default is On.
Leave the HTTP Listeners field empty.
It is filled in automatically when you create an HTTP listener and associate it with this server.
Use of this field requires that you specify an existing HTTP listener. You must not, however, specify a listener that is used by another virtual server; if you do, an error appears in the server log when you restart the server. Since a listener must be associated with an existing virtual server when it is created, all existing listeners are used by another virtual server.
From the Default Web Module drop-down list, choose the deployed web module (if any) that is to respond to all requests that cannot be mapped to other web modules deployed to the virtual server.
If a Default Web Module is not specified, the web module that has an empty context root is used. If there is no web module with an empty context root, a system default web module is created and used.
In the Log File field, type the path name of the file where logging messages from this virtual server will appear.
Leave this field empty to send logging messages to the default server log, domain-dir/logs/server.log.
In the Additional Properties area, click Add Property to add a property for the virtual server.
Whether you specify properties or not, the new server has the default properties docroot and accesslog, set to default values.
The following table lists the available virtual server properties.
Click OK to save the virtual server.
Stop and restart the Application Server.
create-virtual-server