title: How to set up a virtual host in WebLogic?
body: <p>Is it possible to set a virtual host in WebLogic only ?</p>
  
  <p>In my development machine, I have a WebLogic instance with two servers, listening to ports 7002 and 7003; the deployed application contains EJBs and MDBs.</p>
  
  <p>I want to point a Java client outside of the container to a single url, which I know will be served by the cluster, instead of pointing the class to a direct server. This java client will talk to EJBs and JMS queues in the cluster.</p>
  
  <p>Most of the Google searches with the terms weblogic and "virtual host" give me answers involving Apache. Now, correct me if I'm wrong but I understand that the apache server works with HTTP. The cluster being weblogic, the protocol for the ejb will be T3; if it were JBoss, the protocol would be jnp.</p>
  
  <p>So here are the questions:</p>
  
  <ul>
  <li>Is it possible to set a virtual host with WebLogic ?</li>
  <li>If so, do I need Apache server to do the virtual host ?</li>
  <li>Is this the solution to the wrong problem ? All I need is for the cluster to answer to a single URL. Is there any other solution than virutal hosts ? Is it simpler ?</li>
  </ul>
  
  <p>Also, this is on a Windows machine.</p>