'who' is for people, 'what' is for things.
A name is a thing.
So we say 'who are you', 'who' refers to 'you'. 'you' is a person.
But we say 'what is your name', 'what is your address', because what refers to 'name' 'address', and these are things, not people