How to create a Subdomain in IIS7

iis-7subdomain

In IIS7 I have a site: http://www.mydomain.com/mysite

How can I get the same site to appear as: http://mysite.mydomain.com ?

I already have the DNS set up and can ping it, I just do not know how to configure it in IIS7.

Best Answer

It should be as easy as creating a new web that points to the folder where /mysite is, then modifying the properties so that it accepts requests with the host header mysite.mydomain.com.

Here's a technet article on setting the host header: