ah ok... so the server sends the 301 response and the browser interprets
"David Wang [Msft]" <someone@online.microsoft.com> wrote in message
news:eVSiBcErEHA.1160@tk2msftngp13.phx.gbl...
> Since the redirect over HTTPS is happening correctly (next to the Cert
> warning -- which is expected), what you are observing is a
browser-specific
> behavior that cannot be controlled by the server. The server cannot make
> the client display particular URLs in the URL location bar.
>
> --
> //David
> IIS
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> //
> "Dushan Bilbija" <dbilbija@msn.com> wrote in message
> news:%23%23$ZF9DrEHA.896@TK2MSFTNGP12.phx.gbl...
> hello
>
> we have several different domain names we'd like to route to the same
site.
> simple eough, just add hostheaders. however... we also want the address to
> be translated so that the primary address is used.
>
> eg, if the primary address is
http://www.mycompany.com we want
>
http://www.mycompanyalias.com/about/index.asp to not only load the same
page
> as
http://www.mycompany.com/about/index.asp, but to actually have the
> address displayed as
http://www.mycompany.com/about/index.asp >
> this is also simple enough... create a 2nd web site on the same ip, have a
> blank hostheader and have the site redirected to
http://www.mycompany.com. > so... this site gets all requests to our ip EXCEPT
http://www.mycompany.com > requests (since it's the hostheader for the primary web site) and
redirects
> them AND translates the address to
http://www.mycompany.com >
> the problem lies in ssl
>
> regardless of what i set up... it seems the address i type in is
preserved.
> i get the cert warning (cause the cert is issued to
www.mycompany.com, not
>
www.mycompanyalias.com) and everything works fine... but i cannot get it
to
> load
https://www.mycompany.com as the address.
>
> why is this? is there a way to do it?
>
> iow, i want
>
>
http://www.mycompany.com/about/index.asp to go to
>
http://www.mycompany.com/about/index.asp >
http://www.mycompanyalias.com/about/index.asp to go to
>
http://www.mycompany.com/about/index.asp >
>
https://www.mycompany.com/about/index.asp to go to
>
https://www.mycompany.com/about/index.asp >
https://www.mycompanyalias.com/about/index.asp to go to
>
https://www.mycompany.com/about/index.asp >
> doable?
>
> any help would be greatly appreciated.
>
> dushan bilbija
>
>
>
>