Issue accessing apache2 externally
All,
I'm running Ubuntu 9.10 on my local LAN (192.168.1...). Apache2 is set up and I'm able to resolve my domain/web directories behind the router but externally I'm not able to connect. The router is routing port 80 traffic to the correct host and apache is listening on that port. Through my registrar the A record is pointing to the appropriate IP. Any thoughts on what I can do to get the web server to ack external requests? |
Are you on a static or dynamic IP. If you are on a dynamic IP you will need to get an account with dyndns.org or some other group to point towards your IP.
|
Clarifications sought
Can people access apache on the lan or just localhost?
Do you get anything in the https/apache2 logs at all? If you do "telnet myserver.net 80" from the WAN, do you connect or get a reject or what? |
Must be some firewall/NAT issue since you are able to connect/telnet it from the local LAN.
-- Prasanta |
Everything behind the router is working as designed. I just can't access it externally at all. The apache logs are generating messages when I hit a page behind the router and giving the LAN IP in the message
|
Does your domain resolve from outside? And what are your NAT rules for the same.
-- Prasanta |
My domain does not resolve from the outside. My NAT rule forwards port 80 traffic to LAN IP 192.168.1.102. Do you need more info?
|
So, in that case you need to create a DNS entry for the same. Why don't you then try with the public IP instead.
-- Prasanta |
The public IP does not resolve either....
|
Try telnet with the public_ip and port 80. In case this does not go through, then there is a problem with the firewall rules.
-- Prasanta |
No dice on the telent.... Also, I disabled my firewall and it still doesn't work from the outside. Is it a possible settings issue with my domain registrar?
|
In that case I assume, there are issues with your firewall, since it is not accepting incoming request. There is no issue with the registar.
-- Prasanta |
So I'm not running a firewall. I use firestarter on the ubuntu host and its currently off... Anyy ideas on what I should/could check?
|
Any ideas on how to fix the external issue?
|
Double check if your router IP is indeed public and not behind some other router. Go to a website like http://whatismyip.com/ to see what IP it reports.
|
All times are GMT -5. The time now is 02:07 PM. |