Creating Multiple FTP Sites

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2, Windows Server 2008

You can create multiple FTP sites using multiple IP addresses and multiple ports. While creating multiple sites with multiple IP addresses is a common and recommended practice, it can be more complicated because, by default, clients call port 21 when using the FTP protocol. Therefore, if you create multiple FTP sites using multiple ports, you need to inform users of the new port number so their FTP clients can locate and connect to the port.

If you create a new site using the same port as an existing site with the same IP address, the new site will not start. The general rule is that you can have multiple sites using the same IP and port, but only one site from this group can run at a time. If you try to start another site from this group, you receive an error message.

Important

You must be a member of the Administrators group on the local computer to perform the following procedure or procedures. As a security best practice, log on to your computer by using an account that is not in the Administrators group, and then use the runas command to run IIS Manager as an administrator. At a command prompt, type runas /User:Administrative_AccountName "mmc %systemroot%\system32\inetsrv\iis.msc".

Procedures

To create multiple FTP sites using multiple IP addresses

  1. In IIS Manager, expand the local computer, right-click the FTP Sites folder, point to New, and click FTP Site.

  2. Click Next.

  3. In the Description box, type a description of your FTP site, and then click Next.

  4. Under Enter the IP address to use this FTP site, type a new IP address, and leave the TCP port setting at 21.

  5. Complete the rest of the FTP Site Creation Wizard.

To create multiple FTP sites using multiple ports

  1. In IIS Manager, expand the local computer, right-click the FTP Sites folder, point to New, and click FTP Site.

  2. Click Next.

  3. In the Description box, type a description of your FTP site, and then click Next.

  4. Under Enter the IP address to use for this FTP site, type your Web server's IP address.

  5. Under Type the TCP port for this FTP site, change the TCP port from the default setting of 21 to an unallocated port number. If you are uncertain which port numbers are already allocated, choose a high number, for example a number between 5000 and 5999.

  6. Complete the rest of the FTP Site Creation Wizard.

  • For information about installing the FTP service, see FTP Site Setup.