【发布时间】:2013-12-09 18:51:59
【问题描述】:
希望有人可以为我提供有关此问题的一些见解!
情况是这样,我知道升级到 IIS7 是绝对必要的安全性,但将来会这样做,但现在,我正在使用 IIS6,并希望强制 IIS6 显示 IP 地址的合格主机名。
到目前为止,我的其他网站已经通过并更改为显示合格的主机名,但我的 dotnetnuke 服务器(版本 4.08.04),我无法找到文件(dnn 或 iis6)来更改它。
我已使用以下程序进行更改
IIS
可以通过以下方式强制 IIS 显示服务器的主机名而不是 IP 地址:
Open a command window
Select "Start"
Select "Run"
Type in "cmd" and press enter or select the "OK" button
Browse to the "C:\inetpub\adminscripts" directory (or wherever this directory is located on your server)
Run the following commands:
adsutil set w3svc/UseHostName True
net stop iisadmin /y
net start w3svc
The IIS web service will now return the qualified hostname instead of the IP address.
【问题讨论】:
标签: asp.net security iis iis-6 dotnetnuke