update IP addressesRSS

4 replies

Last post Nov 14, 2019 08:13 AM by Yuk Ding

  • update IP addresses

    Nov 13, 2019 02:14 PM|VaniDuttBangalore|LINK

    Is IIS server automatically update IP addresses?

    Vanu Dutt Bangalore
  • Re: update IP addresses

    Nov 13, 2019 02:15 PM|lextm|LINK

    What IP addresses are you talking about? Give more context, or it is impossible to answer.

    Lex Li
    Affordable IIS Consulting Services at https://support.lextudio.com/services/consulting.html
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: update IP addresses

    Nov 13, 2019 02:18 PM|VaniDuttBangalore|LINK

     

    IP ADDRESS CONFIGURED ON IIS TO ACCESS WEBSITE
    public IP address of VPS. 


    Vanu Dutt Bangalore
  • Re: update IP addresses

    Nov 13, 2019 03:47 PM|lextm|LINK

    VaniDuttBangalore

    IP ADDRESS CONFIGURED ON IIS TO ACCESS WEBSITE
    public IP address of VPS. 

    Sounds like you need to go back to a computer networking book first.

    IIS won't be able to bind to the public IP address in most cases, as when Windows boots up it should be assigned a private IP address. IIS can only bind to such private IP addresses, or all unassigned, https://docs.jexusmanager.com/tutorials/binding-diagnostics.html#background

    It would be the responsibility of a gateway to forward traffic from the public IP address to the private IP address. And for real world services, both public/private IP addresses in use should be fixed (or dynamic under certain strict conditions).

    Hope the above is not too much for you to digest.

    Lex Li
    Affordable IIS Consulting Services at https://support.lextudio.com/services/consulting.html
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: update IP addresses

    Nov 14, 2019 08:13 AM|Yuk Ding|LINK

    Hi VaniDuttBangalore,

    When you input for example http://www.mysite.com. Your client will ask DNS to resolve www.mysite.com to IP address. Then client will send request to remote server based on the ip address. 

    When request reach IIS,  system http.sys feature will handle it and deliver request based on its hostname and ip address. 

    So IIS don't handle dynamic IP address directly.  If you don't want IIS being restricted by certain IP address, you could just leave IIS binding to domain name and all unassigned IP.  Then IIS should update IP address dynamically.

    You just have to ensure your domain is always pointing to the correct IP address and that record is not being cached on your client. Otherwise, Web browser  would keep resolve domain to the old IP address.

    Best Regards,

    Jokies Ding

    Yuk Ding

    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue.