How can I redirect a subdomain to a folder using IIS7.5 remotely managing our website?
So:
sub.MyDomain.com would resolve to MyDomain.com/folder
I've tried using URL Rewrite but it's not seeming to have any effect. I didn't read anything about there needing to be DNS propagation (seems like that's not necessary).
Do I perhaps need to somehow set the DNS records know that IIS is handling that subdomain?
FYI, here are the settings I used:
If the Pattern is for a subdomain that I've created a CNAME DNS record for (pointing to the main domain: www.BungalowSoftware.com) then I get a 403 Forbidden result (so its hitting the server @ web.com) If the subdomain does NOT exist in the DNS (CNAME) then I get "not found".
You need to create the site in IIS. aka sub.mydomain.com, after in it you simply do a 301 redirect to the relative path in your other folder.
A bit like told there
The setting I mean is there, when you click your added subdomain: