在umbraco的单个实例上发布多个网站 [英] Publishing multiple sites on a single instance of umbraco

查看:304
本文介绍了在umbraco的单个实例上发布多个网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为已经使用umbraco的内容管理系统设置一个并行网站。新网站会共享管理员,模板,宏和媒体资源,但不会共享任何内容。如果我使用umbraco安装设置多个主机头指向同一目录,我如何根据访问哪个url来切换网站的顶层节点(home vs home2)?

I am looking to setup a parallel site to one already that already uses umbraco for its content management system. The new site would share admins, templates, macros, and media resources, but not any content. If I setup multiple host headers pointing to the same directory with an umbraco install, how can I switch the top node (home vs home2) of the site based on which url is being accessed?

推荐答案

我相信你首先要更改umbracosettings.config中的设置:

I believe you first have to change a setting in umbracosettings.config:

<useDomainPrefixes>true</useDomainPrefixes>

然后我想你还必须右键单击每个顶级节点,然后单击管理主机名

Then I think you also have to right click on each top node and click 'Manage Hostnames', then add the appropriate host name for that top node.

它已经听起来像是你的IIS配置正确,所以你应该很好的前面。

It already sounds like you have IIS configured correctly, so you should be good to go on that front.

从我与Umbraco一起工作已经有一段时间了,但我认为我是最正确的; - )

It's been a while since I've worked with Umbraco, but I think I'm mostly right ;-)

这篇关于在umbraco的单个实例上发布多个网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆