Bharatkumar Leel
Bharatkumar Leel

Reputation: 97

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

Upvotes: 0

Views: 1426

Answers (1)

Patrick
Patrick

Reputation: 81

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?

enter image description here

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.

Upvotes: 1

Related Questions