Probably by changing login.php to react to different domains (look up PHP globals to find where this is stored) and produce different content.
Themes
Theme personalization in a clusterized installation
This discussion has been locked so you can no longer reply to it.