Hi there,
I've got apache installed and all is working well, but I want to have multiple sites available on my machine.
From reading the manual I could add
<VirtualHost *:80>
ServerName test.localhost
DocumentRoot "/home/web/"
</VirtualHost>
<VirtualHost *:80>
ServerName test2.localhost
DocumentRoot "/home/web2/"
</VirtualHost>
and if I then type
http://test.localhost into my webbrowser I should get the index.html residing in /home/web
but instead I get a
www.test.localhost could not be found error. Could someone please tell me what I have done wrong?
Finally if someone knows of a simple tutorial so I can set up a firewall on my machine using iptables that would be great
(all the ones I can find seem to assume you're some sort of network guru
)
Thanks for the help!