Sun Java System Application Server Platform Edition 9 Developer's Guide

Virtual Servers

A virtual server, also called a virtual host, is a virtual web server that serves content targeted for a specific URL. Multiple virtual servers can serve content using the same or different host names, port numbers, or IP addresses. The HTTP service directs incoming web requests to different virtual servers based on the URL.

When you first install the Application Server, a default virtual server is created. You can also assign a default virtual server to each new HTTP listener you create. Open the HTTP Service component under the relevant configuration in the Admin Console, select HTTP Listeners, and select or create an HTTP listener. Then select from the Default Virtual Server drop-down list. For details, click the Help button in the Admin Console.

Web applications and Java EE applications containing web components can be assigned to virtual servers.

ProcedureTo Assign Virtual Servers

  1. Deploy the application or web module and assign the desired virtual server to it.

    For more information, see Sun Java System Application Server Platform Edition 9 Application Deployment Guide.

  2. In the Admin Console, open the HTTP Service component under the relevant configuration.

  3. Open the Virtual Servers component under the HTTP Service component.

  4. Select the virtual server to which you want to assign a default web module.

  5. Select the application or web module from the Default Web Module drop-down list.

    For more information, see Default Web Modules.

See Also

For details, click the Help button in the Admin Console from the Virtual Servers page.