DNS changes can take 24-48 hours to propagate globally but usually works in seconds. You may also see the global propagation of your DNS setting by going to the site: https://whatsmydns.me/
For complete DNS propagation, you see the map:
If the issue persists, verify your DNS settings (A record or nameservers) match your hosting provider’s requirements.