1

There is a current install of DNN on one of my local webservers - this was installed before I took over this position. I am trying to add a second site, but the instructions I am following appear to be for attaching an existing site. Do I simply run the installer to create a new site in addition to the current? I've never used DNN before, so I am going at this blind.

All information I am finding is referencing the same as the instructions link I provided. Any assistance is greatly appreciated.

To add a little bit more information, here is another area where I am confused. Referencing the link, it states #2 to add a binding to my site, then #3 is to add the new portal. What I am trying to do is create a new DNN site - one does not yet exist, so I cannot do step 2 until a new portal is created. As said, I've never used DNN. I was tasked today to have this done by July 4th (nice, huh) so today is the first I am looking at DNN ever.

What I have done is added a new portal and I assumed it would create a new bare-bones site for me, but that is not what happened (obviously). So, instead of just adding an existing site for DNN, how do I add a new one (that is why I asked if I needed to reinstall)? From what I understand, there was an initial website setup with the installation of DNN. That basic site served what they needed - I need to do the same thing again, but, as can be seen, I've no clue how to do so.

4

2 回答 2

2

不,您不会再次运行安装程序。请记住 DotNetNuke 是 PORTAL 托管软件,这意味着只需安装 1 次,您就可以运行〜无限的网站(当然,总会有限制,具体取决于您运行的硬件)。

例如,如果您的 DNN 安装在 www.myweb.com 上运行,并且您想为 www.yourweb.com 添加一个站点,您只需将 www.yourweb.com 的 DNS 条目指向您的 DNN 安装的 IP , 应与 www.myweb.com 相同的 IP。

然后,您以 HOST(超级用户)用户身份登录 DNN 安装。您无法通过使用 www.myweb.com 的管理员登录来执行此操作,该管理员将无权添加门户。当您以主机身份登录时,您会看到另外两个菜单项出现,“管理员”和“主机”。管理员与您只想在 www.myweb.com 上完成的功能有关,主机菜单适用于整个 DNN 安装,包括您设置的所有门户。

根据您的版本号,一旦您单击或放下 HOST 菜单,您可能会看到“门户”或“站点管理”(如果是较新的安装,例如 6.0+)。

从那里您填写有关您的新 www.youweb.com 网站的详细信息,包括 URL 和您想要的任何别名。一旦您这样做并且 DNS 传播,您就可以访问 www.youweb.com 并登录并设置该站点。

于 2012-07-02T21:09:31.093 回答
1

步骤#2 是在 IIS 中添加绑定,而不是在 DNN 中做任何事情。您需要告诉 IIS 有关 strategyplanning.mysite.com,以便它将对该 URL 的请求发送到您的 DNN 站点。

因此,该过程如下所示:

  1. 确保 strategyplanning.mysite.com 的 DNS 记录指向您的 Web 服务器的 IP 地址。
  2. 在 IIS 中,更新当前应用程序的主机头绑定以包括 strategyplanning.mysite.com。
  3. 一个。如果您的 DNN 安装中只有一个门户,此时尝试导航到 strategyplanning.mysite.com 将自动将其添加为该门户的门户别名。
    湾。如果您的 DNN 安装中有多个门户,此时尝试导航到 strategyplanning.mysite.com 将显示有关该 URL 与现有站点不对应的错误消息。
  4. 在 DotNetNuke 中,您需要进入主机菜单(以前称为门户)中的站点管理页面,并使用管理/操作菜单添加新站点。在出现的表格中,使用 strategyplanning.mysite.com 作为别名(将其标记为父门户),并填写其余详细信息。如果您想要一个空白网站,请确保选择空白网站模板(否则您需要删除一堆您不需要的页面和模块)。

这应该是您需要做的所有事情。如果您导航到 strategyplanning.mysite.com 并看到原始站点,则 strategyplanning.mysite.com 已添加为该站点的门户别名,您需要将其删除(在“管理”菜单下的“站点设置”中) .

于 2012-07-03T11:29:43.813 回答