This content has been marked as final. Show 5 replies
Use the Administration Console to define a virtual host.
Create a new Virtual Host.
Expand the Services node in the left pane. The node expands and displays a list of services.
Click the virtual hosts node. If any virtual hosts are defined, the node expands and displays a list of virtual hosts.
Click Create a New Virtual Host in the right pane.
Enter a name to represent this virtual host.
Enter the virtual host names, one per line. Only requests matching one of these virtual host names will be handled by the WebLogic Server instance or cluster targeted by this virtual host.
Define logging and HTTP parameters:
(Optional) Click on the Logging tab and fill in HTTP access log attributes (For more information, see Setting Up HTTP Access Logs.)
Select the HTTP tab and fill in the HTTP Parameters.
Define the servers that will respond to this virtual host.
Select the Targets --> Servers tab. You will see a list of available servers.
Select a server.
Define the clusters that will respond to this virtual host (optional). You must have previously defined a WebLogic Cluster. For more information, see Using WebLogic Server Clusters.
Select the Targets tab.
Select the Clusters tab. You will see a list of available clusters.
Select a cluster.
Target Web Applications to the virtual host.
Click the Web Applications node in the left panel.
Select the Web Application you want to target.
Select the Targets tab in the right panel.
Select the Virtual Hosts tab.
Select Virtual Host.
You must add a line naming the virtual host to the etc/hosts file on your server to ensure that the virtual host name can be resolved.
I have done all the configurations as you said, but where is the hosts file and also etc directory
On Windows XP:
this swamy, i have configured the virtualhost but i don't how to test
pls tell me how to test the virtualhost.
Pls tell me how to test the virtual host.......