A virtual host is a configuration entity that allows WebSphere Application Server - Express to treat multiple host names, IP addresses, or port numbers as a single logical host. For more information, see Virtual hosts.
To configure virtual hosts with wsadmin, follow these steps:
On the CL command line, run the STRQSH (Start Qshell) command.
Run the cd command to change to the directory that contains the wsadmin tool:
cd /QIBM/ProdData/WebASE/ASE5/bin
At the wsadmin prompt, run this command to identify the cell and assign it to the cell variable:
set cell [$AdminConfig getid /Cell:myCell]
where myCell is the name of your application server cell.
Run this command to to create a new virtual host:
$AdminConfig create VirtualHost $cell {{name newVHost}}
where newVHost is the name of the new virtual host.
Run this command to save your changes:
$AdminConfig save