Publishing multiple sites on a single instance of umbraco

做~自己de王妃 提交于 2019-11-27 17:03:12

问题


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?


回答1:


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.

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

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



来源:https://stackoverflow.com/questions/78049/publishing-multiple-sites-on-a-single-instance-of-umbraco

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!