I've searched through the LQ.org archives and though I have found threads detailing similar problems, I haven't found a satisfactory answer to my current quandry.
I have two domains hosted off of one IP address (126.96.36.199), and httpd -S
reports that the configuration file is successful. One domain is working just fine, as it always has, but the second virtual host isn't ever displayed -- just the first (or "default") one.
CustomLog logs/firstdomain.com-access_log common
CustomLog logs/seconddomain.com-access_log common
I have the DNS setup correctly, with A records for both firstdomain.com and seconddomain.com both pointing to 188.8.131.52 -- however, when one browses to seconddomain.com they reach firstdomain.com
Results of httpd -S:
184.108.40.206:80 is a NameVirtualHost
default server firstdomain.com (/etc/httpd/conf/httpd.conf:1019)
port 80 namevhost firstdomain.com (/etc/httpd/conf/httpd.conf:1019)
port 80 namevhost seconddomain.com (/etc/httpd/conf/httpd.conf:1027)