title: Where does request.get_host() get it's information from? (How to make it have the name of the host, not the IP?)
body: <p>I have a django instance being served on a virtual machine (not administered by me), using apache and mod_wsgi.</p>
  
  <p>The value that I get from <code>request.get_host()</code>  (and <code>build_absolute_uri()</code>) is the internal network IP address of the virtual machine, rather than the internet DNS host name that I use to make the HTTP request.</p>
  
  <p>What configuration outside django would need to be done to make django think it's host is the external host name?  </p>
  
  <p>(At the moment I have a hack in settings.py where I write the host name and use it to construct urls etc, as a workaround).</p>