Two sites, same codebase mystery Ubunutu Server, two Drupal sites. One dev and one live. Both domain names take you to the same code and database, the ones correct for the live site. 
Checked apache virtual host files. Both the dev and live sites are pointing to different directories where they should go, one to the live code, and one to dev.  

What setting, and where, could make the dev site point to the live one, instead of where apache's virtual host file says it's pointing?

*I should add, this occurred after a server upgrade.
The answer to this was that the dev site was being redirected to the live site, where the "https" was then crossed out, but the domain name remains, confusingly, the same.