[英]IIS Website IP Change
So my IIS7 server was hosting an ASP.Net web site with domain xxx-xxx.com with IP yyy.yyy.yyy.yyy .所以我的 IIS7 服务器托管了一个 ASP.Net 网站,域名为 xxx-xxx.com , IP 为 yyy.yyy.yyy.yyy 。
Few days ago, I changed my ISP, which in result, changed my IP address to zzz.zzz.zzz.zzz .几天前,我更改了我的 ISP,结果将我的 IP 地址更改为zzz.zzz.zzz.zzz 。
Obviously the web site is down at the moment.显然,该网站目前已关闭。
ping xxx-xxx.com
Results into:结果变成:
Pinging xxx-xxx.com [yyy.yyy.yyy.yyy] with 32 bytes of data:
Request timed out.
Reply from yyy.yyy.yyy.yyy: Destination host unreachable.
Request timed out.
Reply from yyy.yyy.yyy.yyy: Destination host unreachable.
Ping statistics for yyy.yyy.yyy.yyy:
Packets: Sent = 4, Received = 2, Lost = 2 (50% loss)
As seen above, domain name xxx-xxx.com is still assigned to my old IP address yyy.yyy.yyy.yyy xxx-xxx.com.如上所示,域名xxx-xxx.com仍然分配给我的旧IP地址yyy.yyy.yyy.yyy xxx-xxx.com。
According to my friend, and excuse me my ignorance and lacking experience, there's a really simple step I must take in IIS7 in order to get the web site back online, however, I'm not entirely sure how.据我的朋友说,请原谅我的无知和缺乏经验,我必须在 IIS7 中采取一个非常简单的步骤才能使网站重新联机,但是,我不完全确定如何。 I tried editing bindings and setting IP address, however that does not work, neither did netsh iplisten add work.
我尝试编辑绑定和设置 IP 地址,但是这不起作用,netsh iplisten 也没有添加工作。
Furthermore, correct me if I'm wrong, but do I need to go to the place domain name was bought from and change assigned IP address?此外,如果我错了,请纠正我,但是我需要去购买域名的地方并更改分配的IP地址吗?
Here's the command这是命令
netsh http add iplisten ipaddress=xxx.xxx.xxx.xxx
It is necessary to restart IIS7 for the change to take affect.必须重新启动 IIS7 才能使更改生效。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.