The past few days I'm exploring how to setup a webserver (personal usage).. I'm a programmer not a sysadmin, so it's a lot trial and error for me.
What I have so far:
- Host: Windows 7
- Guest: Ubuntu 11.04
- apache, MySQL, PHP, bind9, etc.
- samba file sharing
My goal is to create a wildcard
.dev domain available from my host machine (Windows 7) pointing to a virtual host on the guest machine (Ubuntu).
So for instance; I enter
www.domain.com.dev in a web browser on Windows 7, this should resolve to
/var/www/sites/domain.com/www/htdocs on the virtual Ubuntu server.
I'm known with
VirtualDocumentRoot so thats not going to be the problem but I'm clueless about the DNS configuration (especially to make it available on windows).