Configuring virtual hosts on IBM i

A virtual host is a configuration entity that allows WebSphere® Application Server to treat multiple host machines or port numbers as a single logical host (virtual host) for configuration purposes. Each virtual host can be associated with multiple aliases. Each alias is a particular host name and port number. Configure the virtual host to make resources available for client requests.

Before you begin

This topic assumes that you have started the administrative console. See Starting the administrative console on IBM i if you have not yet attempted to start the application server.

You can use virtual hosts to combine multiple host machines into a single virtual host or to assign host machines to different virtual hosts. Virtual hosts separate and control WebSphere Application Server resources to make the resources available for client requests.

If your external HTTP server configuration uses ports other than the default ports, you must update the Host Aliases table for the virtual host to reflect the correct HTTP port number.

If your external HTTP server configuration uses the default port (80), skip these steps and go to Starting HTTP server instances on IBM i instead.

About this task

Use this procedure to update the Host Aliases table for the default_host virtual host from the administrative console.

Procedure

  1. Click Environment > Virtual Hosts in the left frame of the administrative console.
  2. Click default_host in the right frame.
  3. Click Host Aliases. The settings for default_host are displayed.
  4. Click the asterisk in the row that has a Port of 80 in the Host Name list.

    Host names are set to "*" when you install WebSphere Application Server.

  5. Specify the correct port number for your HTTP server in the Port field.
  6. Click OK, then click Save to save your configuration.
  7. After you specify a new port number, you must regenerate the plug-in configuration:
    1. Click Servers > Web servers.
    2. Select your web server.
    3. Click Generate Plug-in.
    4. Click OK.
  8. After configuring the virtual host, start your HTTP server instance.

What to do next

For a standalone application server, restart the application server after you update the virtual host configuration.

Go to Starting HTTP server instances on IBM i to continue the installation.




In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms of Use | Feedback

Last updatedLast updated: Sep 20, 2011 12:32:59 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-base-iseries&topic=ccws_vhost.dita
File name: tins_is_strvh.html