Dot Net Nuke - 子域

发布于 2024-08-28 10:35:29 字数 344 浏览 4 评论 0原文

我已经为我和我的兄弟设置了一个 DNN 门户,该门户可以正常工作,并且我想让子域指向我们各自的站点子部分。即

brothers.co.uk = brothers.co.uk/home.aspx

me.brothers.co.uk = brothers.co.uk/me.aspx

his.brothers.co.uk = brothers.co.uk/him.aspx

我已经在 DNN 中设置了子部分,但不知道如何处理域名才能使其正常工作。我希望这成为一个具有相同登录集的网站,尽管如果有更好的方法来构建它,我愿意接受想法。

有什么想法吗?

问候

特里斯坦

I've got a DNN portal set up for me and my brother, which works, and i'd like to make it so that sub domains point to our respective sub section of the sites. I.e.

brothers.co.uk = brothers.co.uk/home.aspx

me.brothers.co.uk = brothers.co.uk/me.aspx

him.brothers.co.uk = brothers.co.uk/him.aspx

I've got the sub sections set up in DNN, but can't figure out what to do with domain names to get it working. I'd like this to be all one site with the same login set, although if there's a better way to structure this, I'm open to ideas.

Any thoughts?

Regards

Tristan

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

仙气飘飘 2024-09-04 10:35:30

我推荐一个稍微不同的解决方案。创建两个门户,一个为您,一个为您的兄弟。然后,您可以通过将您的门户别名设置为 me.brothers.co.uk 并将他的门户别名设置为 hem.brothers.co.uk,将每个门户关联到其自己的唯一 URL。您可以从主机 -> 管理 DotNetNuke 实例的门户。以超级用户(主机)身份登录时的门户页面。

门户本身可以像您希望的那样简单或复杂,但一个好的经验法则是,如果站点的差异足以具有不同的顶级 URL,那么它们的差异足以成为唯一的门户。

I'd recommend a slightly different solution. Create two portals, one for you and one for your brother. You'll then be able to associate each of the portals to their own unique URL by setting the portal alias for yours to me.brothers.co.uk and his to him.brothers.co.uk. You can manage the portals for your DotNetNuke instance from the Host -> Portals page, when logged in as a super user (host).

The portals themselves can be as simple or as complex as you'd like, but a good rule of thumb is that if the sites are different enough to have different top level URLs, they are different enough to be unique portals.

动次打次papapa 2024-09-04 10:35:30

可以在 IIS 中完成设置。将这些子域作为网站添加到 IIS,然后添加永久重定向到正确的 URL。

The set up can be done in IIS. Add those sub-domains to IIS as websites, then add a permanent redirect to the correct url.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文