I am using Ubuntu 12.04, and Webmin to set up a web server. The server works just dandy if I create a virtual host and point my domain to the server. I can go to my site just fine by going to domain.com or
www.domain.com. What doesn't work, is subdomains.
I created a new Virtual Host in Webmin to point to subdomain.domain.com on port 80. My DNS zones are set up so subdomain.domain.com points to my IP address, but when I go to subdomain.domain.com, it loads up the site that domain.com (no subdomain) is supposed to be going to, despite the fact that subdomain.domain.com is supposed to be pointing to /home/subdomain/www (existing directory) and domain.com points to /var/www.
What in the bloody hell am I doing wrong? This is extremely frustrating, because from past experience, I should be done right now. I've done this before on a past version of Ubuntu with Webmin...
I am extremely tired and frustrated, so I'm sure I've missed something, so if you need more information, just let me know I'll cough it up.
Bookmarks