I want to have multiple sites in one installation. The structure will be:
First domain.com textpage textpage textpage Second domain.com textpage textpage textpage
I enabled DomainPrefixes to true as I read to another tutorial and I edited the bindings in the IIS (though I don't have actual domains yet as the sites already exists and we havent changed the dns records but I edited the ports of each website ( the first domain has bindings on port 82 and the second on port 83)
So I created the root nodes on umbraco and in "Manage Hostnames" I added the IP of the server with the corresponding ports.
The thing is that whatever port I use to access the site I get the content for the first domain.
May have something to do with the fact you're using ports... (Have seen tweets from people stating it doesn't work...) Try updating your hosts file with two domains
127.0.0.1domain1.com 127.0.0.1 domain2.com
And make sure to have the same bindings in IIS en also to set the hostnames in umbraco.
Multiple Domains in one installation
Hello everyone,
I want to have multiple sites in one installation. The structure will be:
I enabled DomainPrefixes to true as I read to another tutorial and I edited the bindings in the IIS (though I don't have actual domains yet as the sites already exists and we havent changed the dns records but I edited the ports of each website ( the first domain has bindings on port 82 and the second on port 83)
So I created the root nodes on umbraco and in "Manage Hostnames" I added the IP of the server with the corresponding ports.
The thing is that whatever port I use to access the site I get the content for the first domain.
What am I doing wrong;
Thank you in advance for your help.
May have something to do with the fact you're using ports... (Have seen tweets from people stating it doesn't work...) Try updating your hosts file with two domains
And make sure to have the same bindings in IIS en also to set the hostnames in umbraco.
Cheers,
/Dirk
is working on a reply...