I have two domains: first.mycompany.com and second.mycompany.com. I have a content structure as follows:
Content =FirstHome ==AwesomePage =SecondHome
I have FirstHome set to the domain first.mycompany.com and SecondHome set to the domain second.mycompany.com. My problem is that I can access the content nodes under FirstHome from second.mycompany.com.
For example, I can go to second.mycompany.com/AwesomePage.aspx and a page displays. Is there a way to prevent the content from one domain from showing up on the other domain?
Update: FirstHome does not actually have an explicit domain set. first.mycompany.com is just a URL that points to the site and it just works. SecondHome actually has the hostname set to second.mycompany.com. I will try explicitly setting the hostname for FirstHome and see if that fixes things. I'll post an update once I've tried that.
Cross Domain Content Contamination
I have two domains: first.mycompany.com and second.mycompany.com. I have a content structure as follows:
I have FirstHome set to the domain first.mycompany.com and SecondHome set to the domain second.mycompany.com. My problem is that I can access the content nodes under FirstHome from second.mycompany.com.
For example, I can go to second.mycompany.com/AwesomePage.aspx and a page displays. Is there a way to prevent the content from one domain from showing up on the other domain?
Update: FirstHome does not actually have an explicit domain set. first.mycompany.com is just a URL that points to the site and it just works. SecondHome actually has the hostname set to second.mycompany.com. I will try explicitly setting the hostname for FirstHome and see if that fixes things. I'll post an update once I've tried that.
In /config/umbracosettings.config set useDomainPrefixes to true and right click on each homepage and manage hostnames
That did the trick. Thanks!
is working on a reply...