简体   繁体   English

在umbraco的单个实例上运行多个站点

[英]Run multiple site on a single instance in umbraco

I have three different website. 我有三个不同的网站。 can we run on a single instance in umbracocms. 我们可以在umbracocms中的单个实例上运行吗? how can i map three different website in single umbracocms and host on serv 我如何在单个umbracocms中映射三个不同的网站并在serv上托管

You can, but that doesn't always mean that you should. 您可以,但这并不总是意味着您应该这样做。 If you want three different sites, you can have three root nodes, and set the hostname for each of the sites to the domain that you want to use. 如果需要三个不同的站点,则可以有三个根节点,并将每个站点的主机名设置为要使用的域。 Once you've done that, just point the three domain names at your IIS website, and you should be good to go. 完成此操作后,只需将三个域名指向您的IIS网站,就可以了。

You'll need to make sure that you set all of the back office permissions properly if you don't want the users to be able to each of the sites. 如果您不希望用户能够访问每个站点,则需要确保正确设置所有后台支持权限。 If the sites are all for the same client, and have common design, then hosting in one instance is probably OK. 如果这些站点都是针对同一客户端的,并且具有相同的设计,则可以在一个实例中进行托管。 If they're all different and for different clients, it'll be much easier to manage them as separate Umbraco sites, IMHO. 如果它们都是不同的,并且针对不同的客户,则将它们作为单独的Umbraco站点(恕我直言)进行管理会容易得多。

First you need to setup the content tree in your Umbraco backoffice. 首先,您需要在Umbraco后台中设置内容树。

Create a home node for each website and setup the correct hostnames. 为每个网站创建一个家庭节点,并设置正确的主机名。

After that view this wiki page that explains what needs to be done at your server. 之后,查看此Wiki页面,该页面说明需要在服务器上执行的操作。

https://our.umbraco.org/wiki/how-tos/running-multiple-websites-on-one-umbraco-installation https://our.umbraco.org/wiki/how-tos/running-multiple-websites-on-one-umbraco-installation

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM