I've been out of the loop of this kind of stuff for a while but can someone please explain to me how buying a domain name and then getting it hosted works. Let's say if for example I bought a domain name xyz.com
from godaddy.com
.
Could I then purchase the hosting services from a different hosting company and still use the domain I bought from godaddy.com
?