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:

  1. Start the HTTP Server Administration interface.

  2. Click the Manage tab.

  3. Select an application server from the Server list.

  4. Expand Resource Configuration.

  5. Click Manage Virtual Hosts.

From the Manage Virtual Hosts form you can do the following:

Create a new virtual host

With the exception of step 1, these steps also apply to the Create Virtual Host wizard.

  1. Click Create.

  2. Specify the name of your virtual host in the Virtual host name field.

  3. Click Next.

  4. 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.

      1. Click Next.

      2. Complete the Create a new HTTP Server (powered by Apache) form.

      3. 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.

      1. Click Next.

      2. Select one or more existing HTTP Servers (powered by Apache) from the list.

      3. Click Next. Continue to step 5.

    • Select an existing Domino HTTP server
      Select this option to use an existing Domino HTTP server.

      1. Click Next.

      2. Select one or more existing Domino HTTP servers from the list.

      3. Click Next. Continue to step 5.

  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/

  6. Click Next.

  7. 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

  1. Select a virtual host from the Virtual hosts table.

  2. Click Properties.

  3. 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:

      1. Click Add.

      2. Specify an IP address or hostname.

      3. Specify a port number.

      4. Click Continue.

    • Change the properties of a host alias setting
      To change the properties of an alias setting, follow these steps:

      1. Select a host alias setting from the table.

      2. Specify a new IP address and hostname.

      3. Specify a new port number.

      4. Click Continue.

    • Remove a host alias setting
      To remove an alias setting, follow these steps:

      1. Select an alias from the table.

      2. Click Remove.

      3. Click Continue.

  4. Click Apply or OK to save your changes.

Remove a virtual host

  1. Select a virtual host from the Virtual hosts table.

  2. Click Remove.

  3. 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.