I am trying to sort out why a server I'm working with, running in a virtual machine, will not respond by name. I know the OS overall recognizes the name cause I have a putty session to the vm by name. So it has to be the vhost config.
Ran: sudo apache2ctl -t -D DUMP_VHOSTS
wildcard NameVirtualHosts and _default_ servers:
*:443 is a NameVirtualHost
default server newturkey.trollandtoad.com (/etc/apache2/sites-enabled/trollandtoad-ssl:3)
port 443 namevhost newturkey.trollandtoad.com (/etc/apache2/sites-enabled/trollandtoad-ssl:3)
*:80 is a NameVirtualHost
default server newturkey.trollandtoad.com (/etc/apache2/sites-enabled/trollandtoad:2)
port 80 namevhost newturkey.trollandtoad.com (/etc/apache2/sites-enabled/trollandtoad:2)
That seems ok. I'm running out of ideas. Help?
Doesn't the server respond at all, or do you some kind of "It works!" lame Apache page?
If you don't get anything (server doesn't respond at all), have you checked the firewall? (probably
iptables if we're talking linux. You can check with
iptables -L -n)
What happens when you telnet or curl to the server, do you get something?
Yeah we did. It was a complicated mess of things that where wrong, but they've been resolved. Sorry to bother everyone.
This topic is now closed. New replies are no longer allowed.