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: Link IIS root folder with local xampp wordpress

    Mar 10, 2021 07:45 AM|samwu|LINK

    Hi Ecolt,

    EcoIt

    you help me? what i'm doing wrong? I just need to myweb.com shows website that it's on the internal ip 192.168... but still showing myweb.com in the browser.

    Do you want to redirect from http://myweb.com/page1.html to http://192.168.100.10:8080? if so, you can try this rule:

    <rule name="redirect" stopProcessing="true">
      <match url="^page1.html$" />
        <conditions>
          <add input="{HTTP_HOST}" pattern="http://myweb.com" />
        </conditions>
      <action type="Redirect" url="http://192.168.100.10:8080" />
    </rule>

    Best regards,

    Sam

    IIS.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today. Learn more >