This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

single tomcat server multiple domain names

 
Tad Dicks
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have 3 different domain names pointed at the same ip address with tomcat running on it. Is there a way to have requests for domain name 1 go to one context(webapp) request for domain name 2 go to another and domain name 3 go to another?

-Tad
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at your server.xml file.
You can create multiple hosts and set the domain for each.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic