title: Serving a request from gunicorn
body: <p>Trying to setup a server on Rackspace.com. </p>
  
  <p>Have done the following things:</p>
  
  <ul>
  <li>Installed Centos 6.3</li>
  <li>Installed Python 2.7</li>
  <li>Installed gunicorn using the "Quick Start" on their home page: <a href="http://gunicorn.org/" rel="noreferrer">gunicorn.org/</a></li>
  </ul>
  
  <p>In the quick start, a "hello world" application seems to be initialized:</p>
  
  <p>Create file "<strong>myapp.py</strong>":</p>
  
  <pre>
  (tutorial) $ vi myapp.py
  (tutorial) $ cat myapp.py
  </pre>
  
  <p>Contents of "<strong>myapp.py</strong>"</p>
  
  <pre><code>def app(environ, start_response):
     data = "Hello, World!\n"
     start_response("200 OK", [
         ("Content-Type", "text/plain"),
         ("Content-Length", str(len(data)))
     ])
     return iter([data])
  </code></pre>
  
  <p>Since I know very little about servers, I do not know what to do next. I tried typing the server's IP address into the browser, but that seemed to result in a timeout.</p>
  
  <p>I'm not sure if there is:</p>
  
  <ul>
  <li>something else that needs to be installed. Nginx is mentioned under "<a href="http://gunicorn.org/deploy.html" rel="noreferrer">deploy</a>" on the gunicorn website. Looks like Nginx is a proxy server which is confusing to me because I thought gunicorn was a server. Not sure why I need two servers?</li>
  <li>something that needs to be configured in gunicorn</li>
  <li>something that needs to be configured on the server itself</li>
  <li>something that else entirely that needs to be done in order to actually serve a request</li>
  </ul>
  
  <p>What are the next steps?</p>
  
  <p>Thanks so much!</p>