I'm trying to bind a IIS web site (Team Foundation Services 2010) to a subdomain, which is causing authentication errors. First I'll explain what I've done to set it up. This is the fist time I do this, so please correct me if I'm wrong.
The web server is a stand-alone Windows Server 2008 R2 x64, running IIS7 with .NET Framework 4.
I have the following A-records, pointing to my server:
server.mydomain.com
*.server.mydomain.com
So all subdomains of server.mydomain.com points to the server. In IIS7 I have a web site (TFS 2010) on port 8080, with a virtual directory (named tfs) that is using Windows Authentication.
I have one binding on the web site pointing to all unassigned IP addresses, port 8080 and having a host name of tfs.server.mydomain.com.
Now, shouldn't I be able to access the virtual directory through:
http://tfs.server.mydomain.com/tfs
That is not working. However, I can access it through:
http://tfs.server.mydomain.com:8080/tfs
But, it won't let me authenticate using a Windows account (Server\Username). A windows account that I can authenticate with, when accessing the site through http://localhost:8080/tfs.
What am I missing here?