Use 2 websites under same instance with localhost?
I have two websites (root nodes) under one umbraco instance:
websiteone
websitetwo
When I run the debugger in visual studio, it opens up one of the instances at http:\\localhost and the other gets opened up as http:\\localhost\websitetwo, but when I navigate to another page like support, it goes to http:\\localhost\support - which is the support page for websiteone.
What I would like to achieve is to be able to go to something like dev.websiteone and navigate the structure of websiteone and go to dev.websitetwo and navigate websitetwo. If both websites are under the same instance and in visual studio run under http:\\localhost:58705 for example, how is this possible? It seems only one website can actually point to localhost. How does umbraco decide this? What I did was basically remove any host names from my local development?
Sorry, a bit confused, when you say host management system, are you referring to the culture and hostname properties. If yes, I left those blank. It looks like this for both sites:
I tried putting in 127.0.01 dev.sctflash.com in my hosts file, but it just goes to the default IIS welcome page. Even if this worked, how could I have:
Use 2 websites under same instance with localhost?
I have two websites (root nodes) under one umbraco instance:
When I run the debugger in visual studio, it opens up one of the instances at
http:\\localhost
and the other gets opened up ashttp:\\localhost\websitetwo
, but when I navigate to another page like support, it goes tohttp:\\localhost\support
- which is the support page for websiteone.What I would like to achieve is to be able to go to something like
dev.websiteone
and navigate the structure ofwebsiteone
and go todev.websitetwo
and navigatewebsitetwo
. If both websites are under the same instance and in visual studio run underhttp:\\localhost:58705
for example, how is this possible? It seems only one website can actually point to localhost. How does umbraco decide this? What I did was basically remove any host names from my local development?Hi Saied,
Can you show your Umbraco structure?
Alex,
Here is a screenshot:
Saied, did you add your local hosts to the Umbraco host management system ?
Sorry, a bit confused, when you say host management system, are you referring to the culture and hostname properties. If yes, I left those blank. It looks like this for both sites:
Yes, I mean the culture and hostname properties.
Alex,
I tried putting in 127.0.01 dev.sctflash.com in my hosts file, but it just goes to the default IIS welcome page. Even if this worked, how could I have:
127.0.0.1 dev.sctflash.com
127.0.0.1 dev.bullydog.com
is working on a reply...