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
In IIS Manager, expand the local computer, right-click the FTP Sites folder, point to New, and click FTP Site.
Click Next.
In the Description box, type a description of your FTP site, and then click Next.
Under Enter the IP address to use this FTP site, type a new IP address, and leave the TCP port setting at 21.
Complete the rest of the FTP Site Creation Wizard.
To create multiple FTP sites using multiple ports
In IIS Manager, expand the local computer, right-click the FTP Sites folder, point to New, and click FTP Site.
Click Next.
In the Description box, type a description of your FTP site, and then click Next.
Under Enter the IP address to use for this FTP site, type your Web server's IP address.
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.
Complete the rest of the FTP Site Creation Wizard.
Related Information
- For information about installing the FTP service, see FTP Site Setup.