I have 2 pcs connected via a DSL router, PC1 with xampp and 2 folders in htdocs and PC2 running a browser to access the sites. I want to access them via http://bob or http://harry.
PC1 with xampp installed, httpd.conf has
NameVirtualHost 192.168.0.3
<VirtualHost 192.168.0.3>
ServerName bob
DocumentRoot C:/xampp/htdocs/bob/
</VirtualHost>
<VirtualHost 192.168.0.3>
ServerName harry
DocumentRoot C:/xampp/htdocs/harry/catalog/
</VirtualHost>
while lmhosts.sam has
192.168.0.3 bob
192.168.0.3 harry
I have tired to use *:80, with and without NameVirtualHost, I have added the lmhosts changes to PC2 and am now out of ideas.
Cheers
Simon.