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?
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
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>.
I created a droplet instrumenti-sp.ru from snapshot and CNAME record www CNAME instrumenti-sp.ru. <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. hostmaster.www.instrumenti-sp.ru. ( <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 mx.yandex.ru. <br>@ IN A 146.185.163.65 <br>@ TXT v=spf1 redirect=_spf.yandex.ru <br>instrumenti-sp.ru CNAME www.instrumenti-sp.ru.
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
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>?