Saturday, January 24, 2009

Running a web-server from home

So , you want to run a web-server from home (why? , for testing purposes, of course! , don`t deploy anything on home server. Your ISP will eventually block you...)

Behind a router:
1. Change tomcat back to port-80.
2. Assign a LAN static-ip to the web-server on the LAN.
3. configure your router to do port-forwarding on port 80 to your static-ip.
4. Use a dynamic-dns to map a domain into your ever-changing ISP provided ip address.
And you are ready to go.


Few resources:
Good ref (for MAC)
http://www.canyouseeme.org/ - external site which tests your open ports.
http://www.no-ip.com/ - dynamic-DNS (with free version for non-commercial usage)

No comments: