Why there is no redirect?

  • Posted November 1, 2013

I created a droplet Everything works but the site is not available at Then I created a dns record type CNAME but it’s also not available at the address without www. Maybe I need to do a redirect in ngnx?


Submit an 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.

The issue is that the domain name you added using DigitalOcean’s DNS manager is <strong></strong> and not <strong></strong>. <br> <br>Delete the current one and create a new one with the name of <strong></strong>.

I created a droplet from snapshot and CNAME record www CNAME <br>Now it works. Thank you. <br>

This record has already been created. My Zone file: <br> <br>$TTL 1800 <br>@ IN SOA NS1.DIGITALOCEAN.COM. ( <br> 1383195950 ; last update: 2013-10-31 05:05:50 UTC <br> 3600 ; refresh <br> 900 ; retry <br> 1209600 ; expire <br> 1800 ; ttl <br> ) <br> IN NS NS1.DIGITALOCEAN.COM. <br> NS NS2.DIGITALOCEAN.COM. <br> NS NS3.DIGITALOCEAN.COM. <br> MX 10 <br>@ IN A <br>@ TXT v=spf1 <br> CNAME

You do not have an A record for, try creating a record as follows: <br> <br>Type: A <br>Name: @ <br>Value: Your droplet’s IP address

Take a look at the <code>server_name</code> directive in your nginx config. Does it read <code>;</code>?