title: resolving domain name on Django-rest-framework HyperlinkedModelSerializer
body: <p>I would like DRF to use for serialized hyperlinks: </p>
  
  <pre><code>http://&lt;mydomain.com&gt;/api/v1/endpoint
  </code></pre>
  
  <p>rather than</p>
  
  <pre><code>http://127.0.0.1/api/v1/endpoint
  </code></pre>
  
  <p>Can this be configured within Django or is it related to my http server configuration (gunicorn+nginx)? </p>