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 (184.108.40.206, 220.127.116.11 and 18.104.22.168) It takes 12-48 hours for the change to take effect.