IIS 7 and Above
update IP addresses
Last post Nov 14, 2019 08:13 AM by Yuk Ding
Nov 13, 2019 02:14 PM|VaniDuttBangalore|LINK
Nov 13, 2019 02:15 PM|lextm|LINK
What IP addresses are you talking about? Give more context, or it is impossible to answer.
Nov 13, 2019 02:18 PM|VaniDuttBangalore|LINK
Nov 13, 2019 03:47 PM|lextm|LINK
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.
Nov 14, 2019 08:13 AM|Yuk Ding|LINK
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.