Virtual Host Apache

Hi,

I have set up the following virtual host but it cannot find the URL?

Apache is running fine and I have disabled iptables. Within the document root I have the following file index.html displaying a sample text message.

Any ideas what my problem might be?

httpd.conf:

NameVirtualHost 192.168.x.x

<VirtualHost 192.168.x.x>
DocumentRoot /var/www/html
ServerName www10.example.com
</VirtualHost>

R,
D.

And you have an entry in DNS or /etc/hosts to resolve this server as www10.exmple.com when you were testing ?

Correct. I have also changed the ServerName to the FQDN of the host (which again is configured in the /etc/hosts); but it doesn't find this either.

---------- Post updated at 05:34 AM ---------- Previous update was at 04:42 AM ----------

Ok, working now. There was an earlier entry for DocumentRoot within the httpd.conf file pointing to a different location.