Technical data

Configuring Virtual Hosting
Administration Guide 8-9
http://www.mystore.com/shopping/cart.jsp
If, however, you declared shopping as the default Web Application for the virtual host
www.mystore.com, you would access cart.jsp with the following URI:
http://www.mystore.com/cart.jsp
For more information, see “How WebLogic Server Resolves HTTP Requests” on page
8-11.
Setting Up a Virtual Host
To define a virtual host, use the Administration Console to:
1. Create a new Virtual Host.
a. Expand the Services node in the left pane. The node expands and displays a list
of services.
b. Click on the virtual hosts node. If any virtual hosts are defined, the node
expands and displays a list of virtual hosts.
c. Click on Create a New Virtual Host in the right pane.
d. Enter a name to represent this virtual host.
e. Enter the virtual host names, one per line. Only requests matching one of these
virtual host names will be handled by the WebLogic Server or cluster targeted
by this virtual host.
f. (Optional) Assign a default Web Application to this virtual host.
g. Click Create.
2. Define logging and HTTP parameters:
a. (Optional) Click on the Logging tab and fill in HTTP access log attributes (For
more information, see “Setting Up HTTP Access Logs” on page 8-14.)
b. Select the HTTP tab and fill in the HTTP Parameters.
3. Define the servers that will respond to this virtual host.
a. Select the Targets tab.