Well here is the scenario...
I have three machines, one is DNS that have BIND, the second have the XAMPP install, and the other one is just a PC, we use it to check our pages, the first two uses Centos 4 and the other one Windows XP, we navigate with Firefox 3.
Now our problem is that we have our vhost file configured with two vhosts, site1 and site2, the both are inside htdocs, but when i try to access site1 it goes to the htdocs root instead of going to the site1 folder, ihave to say that site1 is the name of the machine running XAMPP too, i dont know if that's a problem. Well here is my httpd-vhost.conf and my directory tree:
*****
/opt
----/lampp
--------/htdocs
------------/site1
------------/site2
*****
# Use name-based virtual hosting.
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin myname@example.com
DocumentRoot /opt/lampp/htdocs/site1
ServerName site1
ServerAlias site1
ErrorLog logs/site1-error_log
CustomLog logs/site1-access_log common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin myname@example.com
DocumentRoot /opt/lampp/htdocs/site2
ServerName site2
ServerAlias site2
ErrorLog logs/site2-error_log
CustomLog logs/site2-access_log common
</VirtualHost>
*****
Now the vhost is well configured i think, but how i configure the bind?
Again i must say that is just for internal purpose so we dont need a domain like .com or .net after the site name i think....
Well hope you can help me... im still reading posts and articles about this and nothing seems to work...