• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

multiple domains on 1 server

 
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am a very old user of tomcat. My level of understanding tomcat is very little though, only to start and stop it. I have a client who has asked me to look into an issue. The issue is that he wants to have a site which organizes certain events. Each event has got its own war file and domain name. My question is that how should I achieve this in a sophisticated manner to have multiple domains on a single server.

Examples are:
1) http://abc-def.XYZ.com/Login.jsp
2) http://lmn-opq.XYZ.com/Login.jsp

The only difference between the two URLs is abc-def and lmn-opq.

Thanks in advance.
 
Ranch Hand
Posts: 1179
Mac OS X Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maybe you can use my post in this thread: https://coderanch.com/t/502161/Tomcat/Disabling-http-sitename

Just add the number of host config needed.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic