Lucas T
Lucas T

Reputation: 671

Running several Grails / Jetty instances on the same server and same port, but with different host names

I would like to run several Grails applications, powered by Jetty (but I could change the server to Tomcat if needed, however I need the Continuations API for CometD features) on the same server. They all need to be on port 80, but have different domain names (myfirstsite.com, mysecondsite.com)

Is there a way to run several apps this way ?

Upvotes: 0

Views: 490

Answers (2)

robbbert
robbbert

Reputation: 2193

It shouldn't be complicated to run different webapps on different virtual hosts on Jetty.

Upvotes: 0

Burt Beckwith
Burt Beckwith

Reputation: 75681

The easiest way is probably to use Apache HTTPD virtual hosts, using mod_proxy to connect to Jetty or Tomcat.

Upvotes: 3

Related Questions