That’s normal behavior of DNS caching/propagation. It’s completely normal that it works for some people but not for others.
You can try clearing your computer’s DNS cache, which can help. If not, you’ll just have to wait, it can take up to 72 hours for your website to work for everyone.