I have a server that has a single IP address bound to it and right now, just one domain pointed to it.
What I need to do is be able to do this....
- app1.mydomain.com --> should be application #1
- app2.mydomain.com --> should be application #2
- app3.mydomain.com --> should be application #3
I can put any of these urls into a browser and I get sent to the default IIS7 page. We used to do this in IIS6 using Host Headers, but I can't figure out how to get this to work properly in IIS7.
We don't want to do a redirect of app1.mydomain.com to www.mydomain.com/app1, we want application #1 to load and the url to remain app1.mydomain.com.
All three sites are ASP.Net 3.5 web applications that actually run perfectly when we go to www.mydomain.com/app1.
What am I missing here? We are running Windows Server 2008 and IIS 7.0.