Open your QT wallet and navigate to File -> Sign Message.
In the address field, enter the address which you are going to claim. In the message field, enter "name,http://domain.com" without quotes else enter only the name.
Click sign message to generate the signature.
Submit that information in the form to claim your address.
Enter the command signmessage "Your address" "name,http://domain.com" to generate the signature.
Submit that information in the form to claim your address.