PDA

View Full Version : [ubuntu] How to make my web server accessible to the Internet?



armukul
March 21st, 2012, 10:58 AM
I have configure apache2, php-5, and mysql server on 10.04 LTS ubuntu.. my web server is working well in local LAN.. now how can i make this web server accessible to Internet???

Thanks....

SlugSlug
March 21st, 2012, 11:52 AM
forward port 80 (and/or 443 if https) from your router to your webserver


connect via external IP address

alarme
March 21st, 2012, 12:13 PM
You must configure your router to NAT port 80 to server lan IP
and configure properly the router firewall to allow incoming connections to this IP
Google for "router open ports"

aura7
March 21st, 2012, 12:18 PM
@SlugSlug Can you please tell how to forward port 80 from the router...

SlugSlug
March 21st, 2012, 12:41 PM
portforward.com

gordintoronto
March 21st, 2012, 05:47 PM
It's also possible that your ISP will block the connection. Many residential Internet providers have "Terms of Service" which prohibit running a server.