Configuring a Virtual Host

Virtual hosts are created using the Administration console.

  1. Create a new virtual host.

    1. Double-click on the Services node in the left pane. The node should expand and display a list of services.

    2. Select the Virtual Hosts node. Any previously defined virtual hosts will be displayed.

    3. Select "Create a New Virtual Host" in the right pane.

    4. Type in the name of the new virtual host.

    5. Optionally, you may choose to assign a default Web application to this virtual host.

    6. Click "Create."

  2. Specify HTTP and logging parameters.

    1. Select the Logging tab and fill in HTTP access log attributes.

    2. Click on the HTTP tab and enter the HTTP parameters.

  3. Specify the servers that will run to this virtual host.

    1. Click the Targets tab.

    2. Click the Servers tab. This will display a list of the available servers.

    3. Click at least one server in the available column and use the right arrow button to move the server to the chosen column.

  4. Optionally, you may specify the clusters that will use this virtual host. In order to do this, you need to have previously defined a WebLogic cluster.

    1. Click on the Targets tab.

    2. Click the Clusters tab. This will display a list of available clusters.

    3. Click a cluster in the available column and use the right arrow button to move the cluster to the chosen column. The virtual host is targeted on all the servers the cluster.

  5. Associate Web Applications with the virtual host.

    1. Select the Web Applications node in the left panel.

    2. Click the Web Application you want to associate with the virtual host.

    3. Click the Targets tab in the right pane.

    4. Select the Virtual Hosts tab.

    5. Select a virtual host in the "available" list and use the right arrow button to move the virtual host to the chosen list.



BEA WebLogic Server Administration Kit
BEA WebLogic Server Administration Kit (Prentice Hall PTR Advanced Web Development)
ISBN: 0130463868
EAN: 2147483647
Year: 2002
Pages: 134
Authors: Scott Hawkins

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net