title: How to redirect all .aspx URLs to their NEW location on a subdomain
body: <p>I recently completed a transfer of a very large ASPDotNetStorefront site (many pages/URLs) from the domain's wwwroot to a subdomain.</p>
  
  <p>For SEO reasons I want to auto 301 redirect any &amp; all OLD URLs which end in ".aspx" to their new location on the subdomain. (All paths being the same except now being in subdomain instead of wwwroot)</p>
  
  <p>Example:
  OLD URL= "http://www.mysite.com/c-2-some-product-page.aspx"</p>
  
  <p>DESIRED NEW URL = "http://store.mysite.com/c-2-some-product-page.aspx"</p>
  
  <p>I need something that will check if the requested page ends in .aspx, then redirects to the "store" subdomain. It should also make sure that the requested old page url doesn't exist</p>
  
  <p>This site is running on a Windows host, AppliedI.net</p>
  
  <p>thanks so much</p>