How to create subdomains on webbynode/nginx?

Posted by peter on Server Fault See other posts from Server Fault or by peter
Published on 2012-10-28T18:32:29Z Indexed on 2012/10/29 11:04 UTC
Read the original article Hit count: 326

Filed under:

I've created a site at www.mydomain.com.

I want to create a mostly unrelated site at myapp.mydomain.com. But when I follow the same steps to initialize the code on this subdomain, it takes over the code at www.mydomain.com. Both locations point to the same app, but they shouldn't.

I followed the normal steps using RAPP:

wn init mywebby --dns=myapp.mydomain.com
wn push

My stack:

  • linux
  • nginx
  • RAPP
  • Node JS
  • 1 webby

© Server Fault or respective owner

Related posts about nginx