2
1
I have a number of local websites in development on my Windows PC, set up as virtual hosts within Apache, with hostnames (along the lines of dev.example.com) resolved via the hosts file, so I can test them out them with various browsers.
I now want to extend browser testing to running browsers in various OSs in virtual machines, and want to be able to resolve dev.example.com from the VMs. Currently these are a mix of VMWare Server and VirtualPC.
I know I can edit the hosts file on any Windows VMs, but this is a bit fiddly and I'd like a solution which is independent of the individual VMs.
I think what I need is a nameserver, but what's the simplest way of going about this? I'd like everything to be self-contained on the one machine.
I think I can cover firewall and Apache permissioning issues.
You either have to change the
hosts
file or the DNS server (in network settings) on the VM. I mean to say: both are editing something. (or something+alot) – Rudie – 2011-04-05T22:23:27.420