PDA

View Full Version : [all variants] Apache serves outside, but no localhost


meadmarc
October 13th, 2008, 09:10 PM
Hi... In the most bizzare thing I have ever seen, my Ubuntu Moodle server is serving pages to the outside world, but whenever I try to access http://localhost, http://127.0.0.1, or the actual url http://kas-moodle.kingsley.k12.mi.us from the server itself, it will not display the page.

How can apache be serving moodle to the outside world but not to the machine it is operating on?

I am concerned that there may be something severely messed up in there.

Thanks in advance,

Marcus

lykwydchykyn
October 13th, 2008, 11:04 PM
Can you post your virtual host configuration file and the output of:

sudo netstat -tunap

meadmarc
October 14th, 2008, 06:00 PM
It would seem that one of the network guys at the school changed the IP address of our local DNS server without telling me. I put in the new IP, and it's like butter.

Thanks for the idea, and I will have to put that command in my little ubuntu 3-ring binder of possible solutions.

Thanks!