I'm trying to setup a debug session on http://localhost:57670/ which works but only for the top-most site. My umbraco has several sites with different hostnames, so how do I access these sites? I tried adding localhost:57670 and localhost to the manage hostnames screen which doesn't work as expected
First you need to run the website in IIS. This way you can visit the website on http://localhost/. After that it should work by doing something like this in the hosts (C:\Windows\System32\drivers\etc) file:
Debug in multi-site environment
I'm trying to setup a debug session on http://localhost:57670/ which works but only for the top-most site. My umbraco has several sites with different hostnames, so how do I access these sites? I tried adding localhost:57670 and localhost to the manage hostnames screen which doesn't work as expected
First you need to run the website in IIS. This way you can visit the website on http://localhost/. After that it should work by doing something like this in the hosts (C:\Windows\System32\drivers\etc) file:
Than if you set the hostname in Umbraco to project1.com and you go to that url it should work.... works for me :).
Jeroen
he Jeroen, thanks that should work.
I just found an easier way which is to just set the useDomainPrefixes setting to false for debugging.
thanks Yannick, works like a charm.
Always great to find your own answers after 8 months..
is working on a reply...