Why am i getting "Welcome to nginx! further configuration is required" when I type www.jamspaces.com instead of just jamspaces.com

November 7, 2015 6.6k views
Nginx Deployment

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!

  • when you whois jamspaces.com are you getting the digital ocean name servers?
    This would look like :

    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

  • 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…


    $ORIGIN jamspaces.com.
    $TTL 1800
    jamspaces.com. IN SOA ns1.digitalocean.com. hostmaster.jamspaces.com. 1446855892 10800 3600 604800 1800
    jamspaces.com. 1800 IN NS ns1.digitalocean.com.
    jamspaces.com. 1800 IN NS ns2.digitalocean.com.
    jamspaces.com. 1800 IN NS ns3.digitalocean.com.
    jamspaces.com. 1800 IN A
    www.jamspaces.com. 1800 IN CNAME jamspaces.com.
3 Answers

Edit your domain conf
Server www.crazytut.com crazytut.com;

this did not seem to fix the problem :(

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;


Have another answer? Share your knowledge.

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