IIS & SubDomains

I have a question to do with creating subdomains in IIS. By RTFM I've basically derived that you need to create a forward lookup zone for the subdomain using DNS manager. Then complete the second part of the set up through IIS using host headers.

My question was, would it not be possible to bypass creating a forward lookup zone? This would be done by say creating a sub-directory in the same directory that the website in which the subdomain is to be created in is pointing to.

Just to clarify.

c:\mydomain ... I have a site "mydomain.com" pointing to this. I want to create a subdomain called "xyz" on that. So I create a directory called xyz in that c:\mydomain directory. Next I create a new site, but pointing to the path c:\mydomain\xyz. The host header for this "site" would be "xyz.mydomain.com"...

Would this not create a subdomain? Or is there something I haven't understood here. All help is appreciated.

 

 

 

 

Top