You should have created/identified a configuration for which you need to create a virtual server.
You should have created/identified a HTTP listener.
You should have identified the host(s) for the new virtual server.
Select the configuration from which you will need to add a virtual server. You can select the configuration from the list of configuration shown in the Configurations tab.
Click on the Virtual Servers tab > New button.
You will get a popup wizard page, which will guide you through the Virtual Server configuration process. From the wizard page, perform the following tasks:
Enter the new virtual server information:
Enter a name to identify the new virtual server. The name can be alphanumeric and can also include period (.), dash (-) and underscore (_) characters.
(Optional) Enter a list of hosts to be added to the new virtual server.
(Optional) Enter the document root for the virtual server.
Select an HTTP listener for the newly configured virtual server. You can either choose an existing HTTP listener or create a new HTTP listener.
You will now see the wizard summary page. To change the configuration, go back to the previous pages by clicking Previous. Click Finish to complete the new virtual server configuration process.
You will now see the Results page. If you see any error, Configure the virtual server again by going back to the previous pages in the wizard.
Using CLI
For adding a virtual server through CLI, execute the following command:
wadm> create-virtual-server --user=admin --password-file=admin.pwd --host=serverhost --port=8989 --config=config1 --document-root=../docs config1_vs_1 |
See CLI Reference, create-virtual-server(1).