【问题标题】:IIS 6 force IIS to display hostname instead of ip address for dotnetnukeIIS 6 强制 IIS 显示主机名而不是 dotnetnuke 的 IP 地址
【发布时间】: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


    【解决方案1】:

    您可以使用 Ifinity 友好 URL 提供程序 http://www.ifinity.com.au/Products/Friendly_Url_Provider_For_DNN 在 DNN 中进行设置

    因为您使用的是旧版本的 DNN,因此您认为您可能必须回到该提供程序的相当旧版本才能使其正常工作。 DNN 4.8.4 有很多安全漏洞,因此升级到更高版本的 DNN(甚至在 IIS 6 上)将是理想的选择。

    我相信您无需升级 IIS 就可以升级到 DNN 6.2.8(或任何最新的 6.* 版本),但 5.1 之后的任何版本的 DNN 都需要 .NET 4.0

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-10-12
      • 1970-01-01
      • 2017-01-03
      • 2023-03-12
      • 2010-09-05
      • 2015-03-27
      • 2023-02-04
      • 2016-05-08
      相关资源
      最近更新 更多