Hi, You can't serve different websites with different ports on the same Tomcat. You will need to start a new Tomcat instance to achieve this. With Apache as a front end you could combine those into one port.
Apache: domain1.com = localhost:8080 domain2.com = localhost:8090 Tomcat server.xml: You will need to change the connector port 8080 to 8090 and run one Tomcat with 8080 and another with 8090. Hope this helps. Kind Regards, Nitai On Tue, Mar 23, 2010 at 10:22 PM, Fiddlesticks <[email protected]> wrote: > Server.XML: > > <Host name="192.168.1.101:8082" appBase="webapps" > unpackWARs="true" autoDeploy="true" > xmlValidation="false" xmlNamespaceAware="false"> > <Context path="" docBase="/mnt/data/www/" /> > <Alias>192.168.1.101:8082</Alias> > </Host> > > Apache sites-available: > > Listen 8082 > <VirtualHost 192.168.1.101:8082> > DocumentRoot "/mnt/data/www" > </VirtualHost> > > Any ideas how I would achieve this? -- See for yourself how easy it is to manage files today. Join the revolution! Razuna SaaS On-Demand - Hosted Digital Asset Management Solution http://www.razuna.com/ Razuna - Open Source Digital Asset Management http://www.razuna.org/ Follow us on Twitter http://twitter.com/razunahq -- Open BlueDragon Public Mailing List http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon mailing list - http://groups.google.com/group/openbd?hl=en !! save a network - please trim replies before posting !! To unsubscribe from this group, send email to openbd+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
