title: Add subdomain for port that listen node.js
body: <p>Hi guys i have a problem. I work with php and node, php works with nginx listening port 80 and node works with the port 3000. I want add a subdomain that listen port 3000 a like media.mydomain.com but i could not. I tried with my website register domain and nothing happened and then with nginx in virtual host but show in console error because this port it is using.</p>
  
  <p>nginx-php=mydomain.com</p>
  
  <p>node=mydomain.com:3000  (tried add subdomain "media.fotogena.co")
  virtual host:</p>
  
  <pre><code> server {
       server_name media.mydomain.com;
       listen   mydomain.com:3000;
       #i don't know that do!
  }#show error port is being used
  </code></pre>
  
  <p>and had seen something like upstream but this assign port 80 to port 3000 but don't is the that me need</p>