The correct informal ways to say, 'What's your name?' are "Comment t'appelles-tu ?" or "Comment tu t'appelles ?"
More formal, for people you don't know, and for those who haven't given you permission yet to address them with "tu" and "toi", are "Comment est-ce que vous vous appelez ?" and "Comment vous appelez-vous ?".