Example: Migrating - Modifying the virtual host
The following examples demonstrate how to modify the virutal host in WebSphere Application Server V4.0 and V5.0:
- wscp V4.0
VirtualHost modify /VirtualHost:default_host/ -attribute {{Name default_host} {AliasList {*:80 *:9080 *:9081}}- wsadmin V5.0
set def_host [$AdminConfig getid /VirtualHost:default_host/] $AdminConfig modify $def_host {{aliases {{{port 80} {hostname *}} {{port 9080} {hostname *}} {{port 9081} {hostname *}}}}} $AdminConfig save