Report this

What is the reason for this report?

droplet not resolving to domain

Posted on December 23, 2017

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 104.131.17.17 delivers django default page. All good so far, But then: fourmothersfarm.com gives: bad gateway,

Really lost can you help ?

DNS records Type Hostname Value TTL (seconds) A fourmothersfarm.comCopy directs to 104.131.17.17Copy 3600 Copy More A www.fourmothersfarm.comCopy directs to 104.131.17.17Copy 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



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

You must need charge this file(it maybe is nginx/sites-enbled/default) in here add you domain.E.g. such

servername xxxx.xxx

and also,you maybe need check blow settings.

1.nginx listen servername / ip address. (none is best)

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.