On 3/31/2013 10:50 AM, Kevin Jenkins wrote:
I'm trying to setup name based hosts by editing server.xml.
http://masterserver2.raknet.com/ should display a different page than
http://lobby3.raknet.com/ <http://masterserver2.raknet.com/>

The DNS entries are already setup. However, no matter what URL I put, it
just goes to the localhost page (error)

<Engine name="Catalina" defaultHost="localhost">
<Host name="localhost"  appBase="webapps/error" unpackWARs="true"
autoDeploy="true">
<Host name="masterserver2" appBase="webapps/masterserver2"
unpackWARs="true" autoDeploy="true"/>
<Host name="lobby3" appBase="webapps/lobby3" unpackWARs="true"
autoDeploy="true"/>
<Host name="milestone.masterserver2" appBase="webapps/masterserver2"
unpackWARs="true" autoDeploy="true"/>
<Host name="milestone.lobby3" appBase="webapps/lobby3" unpackWARs="true"
autoDeploy="true"/>


http://wiki.apache.org/tomcat/TomcatDevelopmentVirtualHosts

Works on Windows, works with Tomcat 6, Tomcat 7.

. . . . just my two cents.
/mde/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to