Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploying web application

 
vinoth Robert
Ranch Hand
Posts: 31
Firefox Browser MS IE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created a web application using jsp.
It is running in Tomcat 6.0.

My requirement is,
Now it works when we type "http://localhost:8080/vinoth/" or "http://10.432.200.01:8080/vinoth/" (in LAN) in browser.

Here vinoth is application name.

I need to run this when i type
"vsite.com"
in my browser.

any idea please?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does the machine where this app is installed have a static IP address, is permanently turned on, and have permanent internet connectivity? If it lacks any of these, then there will either be difficulties (w/o a static IP address), or the value of doing so will be doubtful.

Basically, at your registrar, you'll need to set up the DNS entries for "vsite.com" to point to the static IP address of this machine. You'll also want to install the web app as the ROOT web app.
 
vinoth Robert
Ranch Hand
Posts: 31
Firefox Browser MS IE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes i'm using static ip address as 100.987.0.28. and web app is as ROOT only.

where to set up the DNS entry for "vsite.com" to point to the static IP address of this machine?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
where to set up the DNS entry for "vsite.com" to point to the static IP address of this machine?

The registrar you used for vsite.com needs to do that; they'll very likely have a web interface through which you can do it yourself, though.
 
vinoth Robert
Ranch Hand
Posts: 31
Firefox Browser MS IE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Ulf Dittmer,

I could not understand your reply.

see this is my problem.....

127.0.0.1 is my systems default ip (localhost);

100.987.0.28 is my TCP/IP ip (system is connected in LAN).

If I call 100.987.0.28:8080 from other system in LAN my application works fine.

if I call vsite.com then it is not working.


in host file I just configured

127.0.0.1 vsite.com


should i add 100.987.0.28 also in host file?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The DNS entry will need updated - speak to whoever administers this (as Ulf has already mentioned). Your hostfile resolves names to IP addresses for your machine only, a request from another machine knows nothing about it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic