title: When redirecting the root domain of my site to the www subdomain every URL works except /robots.txt
body: <p>This issue only popped up a month ago when Moz reported it is no longer able to crawl our site, because the campaign is configured for our root domain, but all of our traffic gets forwarded to the 'www' subdomain.  </p>
  
  <p>So 'example.com/some-page.html' gets forwarded correctly to 'www.example.com/some-page.html' (as well as all other pages on our site).</p>
  
  <p>'www.example.com/robots.txt' also works correctly.</p>
  
  <p>'example.com/robots.txt' gets a connection timeout.</p>
  
  <p>I've tested all of this thoroughly with <a href="https://httpstatus.io/" rel="nofollow noreferrer">https://httpstatus.io/</a></p>
  
  <p>Our DNS registrar is GoDaddy, our site is hosted on Heroku, and our platform is Ruby on Rails.  </p>