Where do you live?
What are you doing?
These questions use the general structure we use for interrogative sentences ( [Wh-]+Aux+S+V+[O]?).
When we want to know the subject of an action, the structure changes a bit:
How many people came to the party?
Who went to London on holidays?