« Previous Next »

Thread: Set default website for hostname

Last post 06-23-2009 6:59 PM by jeff@zina.com. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 06-22-2009, 3:57 PM

    Set default website for hostname

    I'm running SBS 2008 and have setup a SSL certificate for server.mydomain.com.

    I want have a web application that is installed on my default website (IQReservations)

    When I type in server.mydomain.com, I get to the RWW login.

    How does IIS7 decide which site you land on when you use a specific hostname?

    When I use the servers IP address, I can get to the web application (serverip/IQReservations), but when I use the FQDN, I get a 404...

  • 06-23-2009, 6:59 PM In reply to

    Re: Set default website for hostname

    iainwbaker:
    How does IIS7 decide which site you land on when you use a specific hostname?

    It doesn't.  IIS only knows IP addresses and only answers on the IP addresses you have set it to.  Name resolution, primarily through DNS, resolves the dhost name to the IP address.  If your DNS entry is wrong or missing for the host name, then what you describe is what happens.

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
Page 1 of 1 (2 items)
Microsoft Communities