title: Serve static files with IIS and Django
body: <p>I'm getting an error when trying to serve <strong>static</strong> file on IIS using FastCGI with <strong>Django==2.2.5</strong> and <strong>python==3.7.4</strong>
  my <strong><em>settings.py</em></strong></p>
  
  <p>static code</p>
  
  <pre><code>STATIC_URL = '/static/'
  STATIC_ROOT = os.path.join(BASE_DIR,  'static')
  </code></pre>
  
  <p>I'm using <a href="https://pypi.org/project/wfastcgi/" rel="nofollow noreferrer">wfastcgi</a> version 3.0.0 and my server is <strong>windows server 2012 datacenter R2</strong>.
  I tried all solution here <a href="https://stackoverflow.com/questions/32593634/django-admin-page-missing-css-in-iis">Django Admin Page missing CSS in IIS</a> and here <a href="https://stackoverflow.com/questions/32312590/how-to-fetch-static-css-files-with-django-on-iis/32340030">How to fetch static CSS files with django on IIS?</a> and watched some tutorial on youtube but still stuck with that.</p>
  
  <p>The error when it shows when I'm trying to access the admin page</p>
  
  <blockquote>
    <p>GET <a href="http://xxxxxx/static/admin/css/base.css" rel="nofollow noreferrer">http://xxxxxx/static/admin/css/base.css</a> net::ERR_ABORTED 404 (Not
    Found)</p>
  </blockquote>