droplet not resolving to domain
So I spun up a new 1 click django droplet and changed nothing other than adding dns records as below.
nginx -t is successful.
service Nginx restart is good.
ip address 18.104.22.168 delivers django default page.
All good so far,
fourmothersfarm.com gives: bad gateway,
Really lost can you help ?
Type Hostname Value TTL (seconds)
A fourmothersfarm.comCopy directs to 22.214.171.124Copy 3600 Copy More
A www.fourmothersfarm.comCopy directs to 126.96.36.199Copy 3600 Copy More
NS fourmothersfarm.comCopy directs to ns3.digitalocean.com.Copy 1800 Copy More
NS fourmothersfarm.comCopy directs to ns1.digitalocean.com.Copy 1800 Copy More
NS fourmothersfarm.comCopy directs to ns2.digitalocean.com.Copy 1800 Copy More
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.