ANT target: CreateVirtualHosts
CreateVirtualHosts creates all virtual hosts (and host aliases per virtual host) for mappings to the WebSphere Commerce Web modules. CreateVirtualHosts can be run multiple times.
Called by:
Prerequisites:
- The Administrative server must be running to run the ConfigureCommerceServer target and any subtargets.
- The createInstance.properties file must exist for this Ant target to work. For information on generating the properties file, see ANT targets.
Required parameters:
- instance
- The name of the WebSphere Commerce instance with which you are working (for example, demo).
Example
WC_installdir/bin/config_ant.sh -DinstanceName=instance CreateVirtualHosts
- Windows: WC_installdir/bin/config_ant.bat -DinstanceName=instance CreateVirtualHosts
Related Concepts