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 (220.127.116.11), 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 18.104.22.168 -- however, when one browses to seconddomain.com they reach firstdomain.com
Results of httpd -S:
22.214.171.124: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)