Transferring a domain can mean two things: switching the domain name to another registrar, or altering the domain record to make the domain point to a new host. We are concerned with the second definition. A domain has to be told which web host to direct visitors to, and this is done by changing the domain's name server records.
For example, QnEZ's Domain servers are:
You will then visit your domain registrar's home page, sign in, and edit your domain record. Each registrar is different, but there will be fields in your domain record called "name severs," "primary/secondary/tirchiary name servers," etc. The registrar may or may not ask for the IP address of the name servers (22.214.171.124, 126.96.36.199 and 188.8.131.52) It takes 12-48 hours for the change to take effect.