Hi,
I am configuring my staging server apache with virtual host.
Whenever i try to access the site with host entry in my system(hosts file)
it's always displaying first site in vhost. i am not able to access other sites.
always i am getting www.ocms.com site , i am not able to access www.uscms.com site
my httpd.conf details are below
NameVirtualHost *.80
<VirtualHost *:80>
DirectoryIndex index.php
DocumentRoot /cmsdata/cms/sites/home
ServerName www.ocms.com
ErrorLog /usr/local/apache/logs/o-error_log
CustomLog /usr/local/apache/logs/o-access_log combined
</VirtualHost>
<VirtualHost *:80>
DirectoryIndex index.php
DocumentRoot /cmsdata/cms/sites/us
ServerName www.uscms.com
ErrorLog /usr/local/apache/logs/ous-error_log
CustomLog /usr/local/apache/logs/ous-access_log combined
</VirtualHost>