title: Django not found : / with a View on set on it for non www?
body: <p>I'm running a Django app on Heroku using Dnsimple to point the domain to heroku. When I load <a href="http://example.com" rel="nofollow noreferrer">http://example.com</a> or <a href="https://example.com" rel="nofollow noreferrer">https://example.com</a> I get </p>
  
  <p>"Not Found
  The requested URL / was not found on this server."</p>
  
  <p>I get the following log in my logs window:</p>
  
  <p>2017-06-04T02:20:51.503765+00:00 app[web.1]: Not Found: /
  2017-06-04T02:20:51.503784+00:00 app[web.1]: WARNING:django.request:Not Found: /</p>
  
  <p>However I have the url supported and it works on example.com or www.example.com or <a href="https://www.example.com" rel="nofollow noreferrer">https://www.example.com</a>, or <a href="http://www.example.com" rel="nofollow noreferrer">http://www.example.com</a> :</p>
  
  <p>supported URL "url(r'^$', views.home, name='home')"</p>
  
  <p>The fact that I'm getting Logs in my server display makes me think it's not a config issue with dnsimple but I'm getting a log like the view isn't there on non www domains?</p>
  
  <p>To add my heroku domains are</p>
  
  <pre><code>example.com = example.com.herokudns.com
  *.example.com  =  wildcard.example.com.herokudns.com
  www.example.com = www.example.com.herokudns.com
  </code></pre>
  
  <p>To add my Dnsimple configuration is  : </p>
  
  <pre><code>Domain          Record Type  DNS Target
  ──────────────  ───────────  ─────────────────────────────────
  example.com      ALIAS/ANAME  example.com.herokudns.com
  *.example.com    CNAME        wildcard.example.com.herokudns.com
  www.example.com  CNAME        www.example.com.herokudns.com
  </code></pre>