Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • 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 ...
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

DNS related problem and Tomcat

Ranch Hand
Posts: 751
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys, since I'm the developer and admin(the most overworked guy in our country , actually) in our company. This was really buggling my mind...

We have 2 static IP addresses, I only need to use one. Let's take as an example.

We have 2 domain names which will be using separate applications in Tomcat.

I have 2 contexts declared in Tomcat, first application will be named App1 and second will be named, App2. Each are accessed through localhost like the following as shown respectively...


The two domain names, and will have to point on each of those applications. -> ->

I chose 8080 since we will also be having apache web server running. So I'm a little worried setting up the IPTables (though I failed at doing this) to forward requests from port 80 to 8080...

I'm really not knowledgeable about all the web hosting or networking related stuff. I do have the basics though... Please help me how to do this, this is like setting up our own hosting provider... Whatever... Thanks!
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic