my defaul virtual host doesnt work
hello
I put my interface card eth0 into promiscuous mode and configured httpd.conf as following NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot /var/www/html DirectoryIndex index.html Index.html </VirtualHost> <VirtualHost *:80> ServerAdmin webmaster@skoona.net DocumentRoot /var/www/mysite ServerName skoona.net DirectoryIndex index.html Index.html <Directory "/var/www/mysite"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> </VirtualHost> Added zone.skoona.net and its reverse in named and created those files. I restart both named and httpd evertime i make changes. skoona.net is working fine but any other request is not served by my default server I dont know what is wrong with default server??? ( I send request from XP machine to Linux machine) The error I get is " Cant find the Server or DNS error" Regards |
Quote:
-twantrd |
All times are GMT -5. The time now is 06:58 AM. |