Hello Everyone
I have set up Apache2 in Windows XP. It was working fine until I recently added a second domain name in the virtual hosts section of the httpd.conf file.
Now only second.com shows and not first.com
Here is part of what's in my httpd.conf
-----------------------------------------------------------
ServerRoot "C:/Apache2"
Listen *:80
###Section 2: 'Main' server configuration
ServerAdmin
admin@first.com
ServerName
www.first.com
UseCanonicalName Off
DocumentRoot "C:/www/host/first"
NameVirtualHost *:80
#
# VirtualHost
<VirtualHost *:80>
ServerAdmin
admin@first.com
ServerName
www.first.com
ServerAlias first.com *.first.com
DocumentRoot "C:/www/host/first"
</VirtualHost>
<VirtualHost *:80>
ServerAdmin
admin@second.com
ServerName
www.second.com
ServerAlias second.com *.second.com
DocumentRoot "C:/www/host/second"
</VirtualHost>
------------------------------------------------------------
The above is listed in order scrolling down the httpd.conf file.
I have tried replacing the * wildcard with my actual IP Address but nothing works.
I do have a static IP Address. I use zoneeditDOTcom for resolving DNS
Please advise as to what may be the cause of me not seeing first.com anymore but instead seeing second.com
Thanks in Advance for your help.