¿Dónde vivías? or ¿Dónde viviste?, That's the exact meaning of that question.
"Hiciste" is another verb "do", in English "do" is an auxiliary in present and "did" is the auxiliary for the past, but in spanish we don't have auxiliaries, the verbal tense is given just by conjugating the verbs directly with no auxiliaries because they do not exist in Spanish.
If you want to say "hiciste", it is like saying in English "What did you do?" or "did you do (that/this)".
I hope I got well explained and you could undrstand it better.
I'm at your service, best regards.