Print

Print


No need to create a unique IP address per IIS website -- simply change the host headers in which that website responds to. You can create one site at example.com with root directory inetpub\wwwroot\example.com with host headers example.com and www.example.com, and then create a subfolder in inetpub\wwwroot\example.com\subdomain.example.com and create a new IIS website with that subdirectory as its home directory, change the host headers to handle subdomain.example.com for that website, and there you have it.

Contact me personally if you have any questions regarding this setup.

Regards,

Chris Harper
TECH SUPPORT
[log in to unmask]
(517) 355-6611 x 125
University Relations • Michigan State University
1330 S. Harrison • East Lansing, MI 48823


-----Original Message-----
From: MSU Network Administrators Group [mailto:[log in to unmask]] On Behalf Of Laurence Bates
Sent: Monday, February 21, 2005 1:33 PM
To: [log in to unmask]
Subject: Re: [MSUNAG] DNS question

I rather suspected that other web systems handles this better than IIS.  My
understanding is that in IIS I can create a new web site and have its
default folder be a subdirectory of another root web site but I was hoping
to avoid having to create new IIS web sites and IP addresses for each folder
that someone wants easy access to.  I suspect that it will cause an
avalanche of requests if I do that.

-----Original Message-----
From: MSU Network Administrators Group [mailto:[log in to unmask]] On
Behalf Of STeve Andre'
Sent: Monday, February 21, 2005 1:19 PM
To: [log in to unmask]
Subject: Re: [MSUNAG] DNS question

On Monday 21 February 2005 13:16, Laurence Bates wrote:
> Does anyone know of a way to create a dns record that points to a
> folder on a web server rather than the root directory.  I get a lot of
> requests for dns names like http://mysite.educ.msu.edu that point to
something like
> http://www.educ.msu.edu/mysite   I usually claim that it is not possible
> but perhaps I am missing something.  What do other people do with such
> requests?

If I get your question right, what you are asking for is the concept of
virtual hosts.  I have a server, polisci.msu.edu which has at least three
such hosts on it.  That is set up in the httpd.conf file in Apache.

With that, you can have any number of hosts that all point back to various
places in the real machine.  If you need an example of how to do the config
I can send you mine.  I'm running Apache 1.3.

--STeve Andre'
Political Science