I have a domain where I have created several subdomains. I manage to alter the DNS records, so a given subdomain redirects to a different server. For example?
app.domain.com -> 123.45.66.11
Now, my app is an ASP.NET MVC app responding to the following URL 123.45.66.11/app. How do I configure IIS, that the url
http://app.domain.com -> 123.45.66.11/app
points to my virtual directory app instead of the root.
Best Answer
What version of IIS are you running? You'll need to setup host headers to accomplish what you want to do.
IIS 6 http://microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/883a9544-3f70-4d46-a6df-bbadbd1fe7de.mspx?mfr=true
IIS 7 http://technet.microsoft.com/en-us/library/cc753195%28WS.10%29.aspx