Hello everybody.
For testing reasons i setup 2 virtual hosts.. one is called test1 and the other one is called test2...
if i was to type in test1 or test2 in the browser it doesn't find it.. but if i type in localhost it finds the first page, which is test1... if i type in the ip address of the machine it finds test1..
the webpages are all internal.. so i want to be able to type in either test1 or test2 and get the page... is this possible without setting up the dns table....
i tried from a w2k machine and its the same problem....
modified the host file but this didn't help.
this is my redhat 9 , apache httpd.conf file for your review.
--
<VirtualHost *>
ServerAdmin
ddarkman@hotmail.com
ServerName comgen
ServerSignature email
DocumentRoot /var/www/html/test1
DirectoryIndex index.php index.html index.htm index.shtml
LogLevel debug
HostNameLookups off
</VirtualHost>
<VirtualHost *>
ServerAdmin
ddarkman@hotmail.com
ServerName test2
ServerSignature email
DocumentRoot /var/www/html/test2
DirectoryIndex index.php index.html index.htm index.shtml
LogLevel debug
HostNameLookups off
</VirtualHost>