NameVirtualHost 192.168.1.100
<VirtualHost 192.168.1.100>
ServerName
www.test.local
ServerPath /home/usrname/Documents
DocumentRoot /www.test.local
</VirtualHost>
This is what I wrote in /etc/httpd/conf/vhosts/Vhosts.conf
I also stoped and restarted Apache
apachectl stop
apachectl start
I get an ok on both time
I have an index for that site located
/home/usrname/Documents/www.test.local/index.html
I try to access the site
http://www.test.local
I get
An error occurred while loading
http://test.local:
Unknown host test.local
if I use
www. or not I get the error
Can you point me toward what I did wrong?