I had recently switched to Dreamhost for hosting and one of several domains, registered with godaddy, was not working once I changed the domain nameserver to point to Dreamhost, though the other domains where working fine. The solution that worked for me was to login to Dreamhost and go to manage domains. There I selected DNS for the particular website and simply selected to button to refresh all DNS info for the domain. Just like that I could now visit the website by browser or ssh
What’s the domain? Maybe it’s resolving for others.
If you’ve changed nameservers, doing the DNS refresh won’t help if the rest of the world doesn’t yet know of your new nameserver. It’ll still take a few days to resolve, and not all domains will get propagated at the same time.