Two likely reasons:
-
No redirect:
www.domain.tldanddomain.tldare two separate addresses. Add a redirect in your app location settings and pick your main domain. -
DNS caching: DNS records might not have updated yet. Use dnschecker.org to confirm if your IP is resolving globally.