I have multiple web apps hosted inside a single Ubuntu VirtualBox VM (using name-based virtual hosting in Nginx). I'm trying to ensure that each machine in my network will be able to resolve the names associated with these apps, without touching /etc/hosts on each machine.
Can I modify the configuration of the Ubuntu VM so that it will register each web app name automatically into the DNS ?
It's a network of Mac OS X machines, connected via an "Orange LiveBox" which acts as the DNS and DHCP.
The /etc/resolv.conf in the VM is:
nameserver 192.168.1.1 domain home search home
This makes apparently http:// the-vm.home available from all machines in the network already.
Can I extend this for other names, such as http:// app2.the-vm.home ?