V
Vincent
Hi,
I have set up a second website in IIS and I want to be able to debug my
web applications there.
I created the web site on 127.0.0.2 and called it stable.
VS won't let me save the "Use Local IIS Web server" pointing to this
new website.
So I have the setting
http://localhost/Stable/Membership
but I want
http://127.0.0.2/Membership
or a name instead of 127.0.0.2
The reason for doing this is that we have set up internal addresses for
dev and stable so http://service.company.dev and
http://service.stable.company.dev
Rather than having to change the config files from
service.stable.company.dev to localhost/Stable when I want to debug the
stable code locally I'd like to have an alias for
service.stable.company.dev in my hosts file (this would make deployment
easier).
This works fine for service.company.dev, it is sent to 127.0.0.1 and I
can use localhost in the project settings.
I can alias service.stable.company.dev to 127.0.0.2 no problem but
can't get VS to accept that, I have to attach to the process instead.
Anyone know what the problem is?
Or is there a simpler alternative to what I am doing?
I am using VS 2008 on Windows 7 with IIS 7.5.
Thanks, Vin
--
I have set up a second website in IIS and I want to be able to debug my
web applications there.
I created the web site on 127.0.0.2 and called it stable.
VS won't let me save the "Use Local IIS Web server" pointing to this
new website.
So I have the setting
http://localhost/Stable/Membership
but I want
http://127.0.0.2/Membership
or a name instead of 127.0.0.2
The reason for doing this is that we have set up internal addresses for
dev and stable so http://service.company.dev and
http://service.stable.company.dev
Rather than having to change the config files from
service.stable.company.dev to localhost/Stable when I want to debug the
stable code locally I'd like to have an alias for
service.stable.company.dev in my hosts file (this would make deployment
easier).
This works fine for service.company.dev, it is sent to 127.0.0.1 and I
can use localhost in the project settings.
I can alias service.stable.company.dev to 127.0.0.2 no problem but
can't get VS to accept that, I have to attach to the process instead.
Anyone know what the problem is?
Or is there a simpler alternative to what I am doing?
I am using VS 2008 on Windows 7 with IIS 7.5.
Thanks, Vin
--