A few days ago I changed something on my Apache and it behaved strange.
For the VirtualHost, I had 1 entry
<VirtualHost *:80> ServerName siteA.com ... <Directory "/path/to/siteA.com"> </Directory> </VirtualHost>
Then added a 2nd one:
<VirtualHost siteB.com:80> ServerName siteB.com ... <Directory "/path/to/siteB.com"> </Directory> </VirtualHost>
As you see, I replaced the *:80 with the actual name. The result was that if you typed siteA.com you end up seeing siteB.com content. The address bar would still say siteA.com all the time.. but it was siteB.com content.
(My previous question as to why this happened has been answered.. this is a NEW question)
I want to reproduce this behavior but for 3 sites in the following manner:
siteA.com shows siteA.com <--- normal siteB.com shows siteC.com <--- not normal siteC.com shows siteC.com <--- normal
All my attempts of doing this end up making all sites point to the named domain.
How can I do this?