We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

View Complete Thread
  • Re: Prepend www to incoming domain.com is not working

    Dec 15, 2020 12:32 PM|JefffRozar|LINK

    Hi, I'm revisiting this again.

    My IIS has a few sites:

    Default Web Site

    register.domain.com

    support.domain.com

    I put the above script in both the URL Rewrites for 'Default Web Site' and for the URL Rewrites listed when I click on the IIS server itself.

    Note my actual www.domain.com server is an internal apache server that is routed to a server farm that contains the apache server, if that makes any difference?

    Additionally, the test patterns on this rule match fine. And on the ARR server itself, domain.com resolves to the internal IP of the web server, and the website is properly shown.