So i am hosting two seperate domains on the same droplet by utlizing nginx and getting this error. Cant seem to figure out why as I have my other site set up identically and both cruxcalculator.com and www.cruxcalculator.com work fine.
When I run whois www.jamspaces.com I get absolutely no results. Totally confused if someone could explain what is going on it would be much appreciated!
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.
server { listen 80;
server_name www.jamspaces.com jamspaces.com;
location / {
proxy_pass http://localhost:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}
this did not seem to fix the problem :(
Edit your domain conf Server www.crazytut.com crazytut.com;
so when I run whois jamspaces.com I get my DO name servers. when I run whois www.jamspaces.com I get “no match” super confusing to me…
ZONE FILE:
when you whois jamspaces.com are you getting the digital ocean name servers? This would look like : Name Server: NS1.DIGITALOCEAN.COM Name Server: NS2.DIGITALOCEAN.COM Name Server: NS3.DIGITALOCEAN.COM
I think your having an issue with the proper name servers not being set up, or you don’t have the correct Cname or A record set up in your Digital ocean networking dashboard for that specific domain.
Im not an expert but I had that issue and worked through these few steps