Report this

What is the reason for this report?

Why there is no redirect?

Posted on November 1, 2013

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



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.

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

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

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

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.