title: How do I set my django view's URL to the root domain of my website?
body: <p>I'm hosting my Django app on Heroku and my domain name is registered with Network Solutions.  When I enter my domain name, i.e. www.example.com, Heroku displays: </p>
  
  <pre><code>"Not Found
  
  The requested URL / was not found on this server."
  </code></pre>
  
  <p>I then have to navigate to the template's URL that displays my app's landing page, www.example.com/shipment/. </p>
  
  <p>How can I get my root domain www.example.com to automatically redirect to www.example.com/shipment/, or alternatively, change the URL of /shipment/ to my root domain?</p>
  
  <p>Here's the urls.py for my app: </p>
  
  <pre><code>from django.conf.urls import patterns, url
  from shipment import views
  
  urlpatterns = patterns('',
      url(r'^$', views.landing, name='landing'),
      url(r'^create-subscription/$', views.createSubscription, name='createSubscription'), #
      url(r'^(?P&lt;subscription_duration&gt;\d+)/create-account/$', views.createAccount,     name='createAccount'),
      url(r'^create-account/pay/$', views.pay, name='pay'),
      url(r'^create-account/confirm/$', views.confirm, name='confirm'),
  )
  </code></pre>
  
  <p>Here's the urls.py for my project:</p>
  
  <pre><code>from django.conf.urls import patterns, include, url
  
  # Uncomment the next two lines to enable the admin:
  from django.contrib import admin
  admin.autodiscover()
  
  urlpatterns = patterns('',
      # Examples:
      # url(r'^$', 'subscription.views.home', name='home'),
      # url(r'^subscription/', include('subscription.foo.urls')),
  
      # Uncomment the admin/doc line below to enable admin documentation:
      # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
  
      # Uncomment the next line to enable the admin:
      url(r'^shipment/', include('shipment.urls', namespace = "shipment")),    
      url(r'^admin/', include(admin.site.urls)),
  )
  </code></pre>