Is it possible to rewrite subfolder to subdomain with IIS7?
问题 I have an asp.net application on sub domain sub.domain.com I want to access this application by typing www.domain.com/sub is it possible with IIS7? 回答1: Assuming you're happy to manually configure the application at each subdomain: In IIS Manager, go to Sites, and select your www.domain.com site. Right click it, "Add Application" and specify the alias "sub" and point the physical path to the same location as sub.domain.com Select the same application pool as the sub.domain.com site.