« Previous Next »

Not Answered Thread: URL rewrite on localhost

Last post 07-10-2009 1:33 PM by dbalasko. 18 replies.

Average Rating Rate It (5)

RSS

Page 2 of 2 (19 items) < Previous 1 2

Sort Posts:

  • 07-10-2009, 12:08 PM In reply to

    • ruslany
    • Top 25 Contributor
    • Joined on 07-01-2007, 7:38 PM
    • Redmond, WA
    • Posts 664

    Re: URL rewrite on localhost

    Is this a separate IIS web site, different from the "Default Web Site"? If yes, then what are the host header bindings on that site? You need to explicitly add bindings for every subdomain, otherwise the requests will be routed to the "Default Web Site".

    http://ruslany.net
  • 07-10-2009, 12:38 PM In reply to

    • dbalasko
    • Not Ranked
    • Joined on 10-02-2006, 10:02 AM
    • Posts 11

    Re: URL rewrite on localhost

     Yes, it is a separate web site. There are 2 bindings:

    www.domain.com
    domain.com

    So you are saying we have to add a binding for every of the 6.000 users we have at the moment?

    user1.domain.com
    user2.domain.com
    ...

    Isn't there some other solution, something like *.domain.com?

     

  • 07-10-2009, 1:19 PM In reply to

    • ruslany
    • Top 25 Contributor
    • Joined on 07-01-2007, 7:38 PM
    • Redmond, WA
    • Posts 664

    Re: URL rewrite on localhost

    Unfortunately, it is not possible to use *.domain.com for host binding.

    Adding 6000 bindings is not practical, so the only solution I can think of is to change the binding on this site to empty host header, so that it gets all the requests. You will need to update the binding on the "Default Web Site" to not conflict with this site.

    http://ruslany.net
  • 07-10-2009, 1:33 PM In reply to

    • dbalasko
    • Not Ranked
    • Joined on 10-02-2006, 10:02 AM
    • Posts 11

    Re: URL rewrite on localhost

    That is unfortunately not possible, we have 5 sites on this server that need this subdomain url rewriting. So it should work on all of them or none.

Page 2 of 2 (19 items) < Previous 1 2
Microsoft Communities