Groups | Blog | Home
all groups > iis ftp > february 2005 >

iis ftp : Multiple FTP sites on the same server. How?



Roland Hall
2/11/2005 11:31:37 PM
[quoted text, click to view]
:
: When hosting multiple web sites on the same server using IIS 5.0 on
Win2000
: Server, you create DNS records and add the appropriate host headers to the
: web site so that web browsers (the client) correctly receive the right web
: site from the same server.
:
: What about multiple FTP sites on the same server?

This is what I do:

Let's take two domains:
domain1.com
domain2.com

User names:
domain1
domain2

HTTP:
Create two websites.
Home directories:
d:\domains\domain1.com\root
d:\domains\domain2.com\root

Put host headers in for each web site respectively:
domain1.com, www.domain1.com
domain2.com, www.domain2.com

FTP:
Default FTP site:
Anonymous user disabled
Under default FTP site, create two virtual directories:
ftp domain1 (description)
ftp domain2

FTP root directories:
Default FTP directory:
d:\ftp
The reason for this is someone going above the ftp root will come to this
empty directory and not be able to see your other domains has you put it at
d:\domains. It is a layer of security in case you accidentally give them
too many rights.

Security:
list folders: All users
Full rights: Administrators, SYSTEM

Domains directories:
d:\domains\domain1.com
d:\domains\domain2.com
Security:
domain1.com:
Modify: domain1
domain2.com:
Modify: domain2

If your system is in a domain, use domain security policy. If AD is
installed use domain controller security policy. If no domain, use local
security policy.

Grant FTP users Log on Locally rights.

Summary:
For each domain, you need a web site for HTTP, host headers, home directory
and proper file system rights.
For each domain, you need a virtual directory underneath the default ftp
site, proper directory security, anonymous user disabled and log on locally
rights at the right level depending on the server local, domain, controller.

HTH...

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Online Support for IT Professionals -
http://support.microsoft.com/servicedesks/technet/default.asp?fr=0&sd=tech
How-to: Windows 2000 DNS:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;308201
FAQ W2K/2K3 DNS:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;291382

Kristofer Gafvert
2/12/2005 6:50:17 AM
Hi,

Host headers are part of the HTTP specification, so you will not be able
to use if for FTP. So to distinguish different FTP sites, you will need to
have multiple IPs, or multiple ports.



--
Regards,
Kristofer Gafvert
www.gafvert.info - My Articles and help
www.ilopia.com


[quoted text, click to view]
dx
2/12/2005 12:13:04 PM
Need help from experienced IIS admins.

When hosting multiple web sites on the same server using IIS 5.0 on Win2000
Server, you create DNS records and add the appropriate host headers to the
web site so that web browsers (the client) correctly receive the right web
site from the same server.

What about multiple FTP sites on the same server?

jeff.nospam NO[at]SPAM zina.com
2/12/2005 4:37:26 PM
[quoted text, click to view]

Separate IP address or separate ports. Or see:

How To Set Up an FTP Site So That Users Log Onto Their Folders:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;201771

AddThis Social Bookmark Button