简体   繁体   中英

Create umbraco subdomain for an umbraco site

I am using umbraco 7.1.3.

My requirement is to create another sub-domain in main site dynamically as per user request.For example I have implemented umbraco cms for my site "ww.xyz.com" & I am updating content through umbraco login. Now I want to create sub-domains for different clients as per their request... like : "www.xyz.com/client1", "www.xyz.com/client2" and so on...

Now all sub-domain site should have it's own umbraco framework, so client-site (sub-domain owner) can login and update their information respectively.

To achieve this requirement I implemented following steps...

  1. First I register a umbraco website in IIS and configure it, and that worked properly.
  2. Then I register another umbraco website in IIS and configured it, and that also worked properly. Now to implement sub-domain logic...
  3. I simply copied 2nd website's folder in to first website folder. Then convert that folder to application through IIS.

As per my expectation this should work, As I have already done the same in asp.net and it worked.

But with umbraco I am facing issue like "Invalid key value".

I think the issue is related to some umbraco configuration, but I am not able to figure it out.

Thanks & Regards

A bit of an open door, but since I don't see it mentioned in any of the comments and it's a bit hidden away in Umbraco 8. Have you tried setting the urls in the Cultures and Hostnames section?

在此处输入图片说明

Note: you get to this by going to "Content", in the content tree right click on your homepage and now you get several extra options which are normally hidden away with also the very useful Hostname and Cultures option which allows you to support multiple urls.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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