Figured it out.
I had old files in the broken hosts named index.htm.old or index.php.old. Deleted any of those and blam, everything is working okay again.
Can’t really say why those caused the problem, but hopefully this helps someone who runs into the same issues.