希望有人能够提供一些有关此问题的信息!IIS 6强制IIS显示主机名而不是ip地址,用于dotnetnuke
Th的情况是这样的,据我所知,升级到IIS7是绝对必要的安全,但将来会这样做,但现在,我使用IIS6,并希望强制IIS6显示合格的IP地址的主机名。
到目前为止,我的其他网站已经过并且被更改为显示合格的主机名,但是我的dotnetnuke服务器(版本4.08.04),我无法找到该文件(dnn或iis6)来更改此设置。
我用下面这个程序改变
IIS 强制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.