Question

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

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!

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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;