mostly, in china, the answer for this question depends on your birthplace. However, if the question refers to your hometown, thus the answer might rely on where your father was born.
for instance, i was in H province, and my parents were both born in H province, but my grandparents were born in S province, so, if someone asked me this question, i would like them to give a hint, for example, "do you mean my hometown or my birthplace as they're different." if they referred to my birthday, i would say H whereas if it's about my hometown, the answer would be S.
Does that make sense for you?