To point a domain to share hosting, VPS, or Dedicated Server, you need to set Nameserver of the domain. There are some method to do that, such as use default nameserver of domain registry, use default nameserver of hosting provider, use third party like cloudflare, or you can configure a private nameserver(you need to setup dns