aspose file tools*
The moose likes Tomcat and the fly likes Tomcat --- Deploy Web site on Home Computer (Dynamic IP) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat --- Deploy Web site on Home Computer (Dynamic IP)" Watch "Tomcat --- Deploy Web site on Home Computer (Dynamic IP)" New topic
Author

Tomcat --- Deploy Web site on Home Computer (Dynamic IP)

Vince Hon
Ranch Hand

Joined: Feb 11, 2003
Posts: 117
Hi, all expert.
I would like to set up a web server using my home computer by using Tomcat 4.1.
The web server is behind a router.
I have changed the port from 8080 to 80.
It works fine when I type: http://localhost/ (show the index.jsp page) on the local machine but not outside.
However, I want to deploy my web site on the Internet, so that the public can access my home computer.
My ISP provides me a dynamic IP. I have registerd a domain name in no-ip.com. It is vincehon.no-ip.com
My question is :
******************************************************************************************
WHAT configs should I set in tomcat to allow people on the Internet view my web site when they type
"http://vincehon.no-ip.com/" ?
If I do not using router (the web server connect to the Internet directly), are the settings the same ?
******************************************************************************************
I have set the NAT in my sercom router.


Vince Hon<br /> <br />SCJP 1.4 | SCWCD | SCBCD <br /><a href="http://vincehon.homeip.net:8000/VJW" target="_blank" rel="nofollow">http://vincehon.homeip.net:8000/VJW</a>
 
jQuery in Action, 2nd edition
 
subject: Tomcat --- Deploy Web site on Home Computer (Dynamic IP)