Reference > ANT targets > Ant targets: Removing configuration targets > RemoveCommerceServer
ANT target: RemoveVirtualHosts
RemoveVirtualHosts removes the Commerce virtual host configurations.
Called by:
Prerequisites:
- The Administrative server must be running to run the RemoveCommerceServer target and any subtargets.
- The createInstance.properties file must exist for this ANT target to work. For information about generating the properties file, see ANT targets.
Required parameters:
- instance
- The name of the WCS instance with which you are working (for example, demo).
Due to changes in virtual host configuration, you should run the RegeneratePlugin target to regenerate the Web server plug-in configuration file.
Example
- WC_INSTALL/bin/config_ant.sh -DinstanceName=instance RemoveVirtualHosts
- WC_INSTALL/bin/config_ant.bat -DinstanceName=instance RemoveVirtualHosts
Related concepts