dns resolving correctly everywhere except my droplet

Posted April 18, 2021 115 views

my domain name resolves correctly everywhere

but from the droplet itself it gets the wrong IP.(

I’ve set the A record for on both the godaddy and the DigitalOcean dns config
and the added NS records

NS  forms    
NS  forms

FWIW I’m setting up a discourse droplet instance.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi @spdegabrielle,

Please note DNS changes can take up to 24 hours to fully propagate. I did check your domain and I can confirm it resolves from the proper droplet for me as well.

This leads me to believe your /etc/hosts file might not be correct. SSH to your droplet and type in

nano /etc/hosts

Inside of it what do you see? Do you see your droplet specified there?