On Oct 7, 2011, at 07:42, Jan Keirse wrote:

> For example you should be able to create one apache httpd.conf containing 
> num_of_sites of virtual hosts, and an /etc/hosts 
> (c:\windows\system32\drivers\etc\hosts on windows) containing 172.0.0.1 
> site1.local, 172.0.0.2 site2.local,... 
> The /etc/hosts can be the same for all hosts and users, the httpd.conf 
> will contain a little variation for each platform you use, but the virtual 
> hosts will all be the same. 
> These files can then be deployed to all people involved. 

You don't need to distribute an /etc/hosts file if you instead run a local DNS 
server that handles those names.



Reply via email to