i am running apache on (for example) 127.1.1.1, but have it set up so example1.com reads from /home/example1.com/, example2.com reads from /home/example2.com/
if i go to example1.com (or any other domain) it works fine - shows the correct files.
if i go to xxxxx.example1.com (that is, ANY sub domain), it shows the first entry in my vhosts file (so shows the first site i added).
if i go to 127.1.1.1 (its obv. not that ip...), it also shows that first site i added
how can i stop this? i believe just adding a "fake" first entry in my vhosts will still enable connecting to the site via IP or via any subdomain, so that won't work.