Subdomain, virtualhosts, and DNS, oh my
This question has probably been answered in bits and pieces, but I searched and I couldn't find a satisfying answer. I have a domain with godaddy.com, and I host it on my own server. I also have a dynamic IP address, so I have my domain forwarded to mydomain.gotdns.com:8080 (the 8080 is to get around the port-blocking). so I want to set up a couple subdomains. I want forums.mydomain.com to go to /var/www/forums, family.mydomain.com to go to /var/www/family, etc. Can somebody just outline how to do all of this?