Manage virtual hosts for your application server
A virtual host enables a single host machine to act as multiple hosts, allowing an administrator to independently manage resources on one physical machine. The Manage Virtual Hosts form allows you to view a list of defined virtual hosts, create a new virtual host, modify the properties of an existing virtual host, or remove a virtual host from your application server. For more information on virtual hosts, see Virtual hosts
To manage your virtual hosts on an application server, follow these steps:
- Start the HTTP Server Administration interface.
- Click the Manage tab.
- Select an application server from the Server list.
- Expand Resource Configuration.
- Click Manage Virtual Hosts.
From the Manage Virtual Hosts form you can do the following:
Create a new virtual host
Note: With the exception of step 1, these steps also apply to the Create Virtual Host wizard.
- Click Create.
- Specify the name of your virtual host in the Virtual host name field.
- Click Next.
- Select one these options.
- Create a new HTTP Server (powered by Apache)
Select this option to create a new HTTP Server (powered by Apache) instance.
- Click Next.
- Complete the Create a new HTTP Server (powered by Apache) form.
- Click Next. Continue to step 5.
- Select an existing HTTP Server (powered by Apache)
Select this option to use an existing HTTP Server (powered by Apache) instance.
- Click Next.
- Select one or more existing HTTP Servers (powered by Apache) from the list.
- Click Next. Continue to step 5.
- Select an existing Domino HTTP server
Select this option to use an existing Domino HTTP server.
- Click Next.
- Select one or more existing Domino HTTP servers from the list.
- Click Next. Continue to step 5.
- Select the IP access types.
- Any host name or IP address
The wizard creates an IP access type from any available host name or valid IP address based on the HTTP Server (powered by Apache) or Domino HTTP server you selected. For example, http://myserver:1023/
- Specific access types
Select one or more access types.
- IP address - The IP access type is a valid IP address. For example, http://100.99.98.1:1023/
- Host short name - The IP access type is a valid host short name. For example, http://myserver:1023/
- Domain qualified host name - The IP access type is a valid domain qualified host name. For example, http://myserver.mycompany.com:1023/
- Click Next.
- The summary page lists all of the choices you have made in the wizard. If any of the information displayed is incorrect, click Back until you reach the wizard form with the incorrect information and make your corrections. Click Finish to complete the wizard.
Edit the host alias properties of existing virtual hosts
- Select a virtual host from the Virtual hosts table.
- Click Properties.
- You can edit one or more of the properties shown for the virtual host.
- Add a host alias setting
To add an alias setting, follow these steps:
- Click Add.
- Specify an IP address or hostname.
- Specify a port number.
- Click Continue.
- Change the properties of a host alias setting
To change the properties of an alias setting, follow these steps:
- Select a host alias setting from the table.
- Specify a new IP address and hostname.
- Specify a new port number.
- Click Continue.
- Remove a host alias setting
To remove an alias setting, follow these steps:
- Select an alias from the table.
- Click Remove.
- Click Continue.
- Click Apply or OK to save your changes.
Remove a virtual host
- Select a virtual host from the Virtual hosts table.
- Click Remove.
- Click OK.
For information on other ways to manage virtual hosts, see these topics:
Administer virtual hosts with the WebSphere administrative console
This topic describes how to use the administrative console to configure and manage virtual hosts for your application server.
Use wsadmin to administer virtual hosts
This topic describes how to use wsadmin to administer virtual hosts for your application server.