One login page to rule them all

I'm looking to use a single user login page which would allow users to login to their site through the main host site. Any ideas how to achieve this?