How to Install IIS on Windows Server 2003 / XP / Windows 2000

 

 Procedure

 To install WebServer� on Windows

 

1.       Click Start, point to Control Panel, and then click Add or Remove Programs.

2.       In Add or Remove Programs, click Add/Remove Windows Components.

3.       In the Windows Components Wizard, under Components, select Application Server.

Aa998483.note(en-us,EXCHG.65).gifNote:

Selecting Application Server performs a default installation of Internet Information Services (IIS) and includes components that are not necessary for Certificate Services. In most cases, this installation is acceptable for an isolated test environment. However, if you plan to connect your test environment to your production network, consult your organization's security policy to determine which components to install.

4.       Click Next.

5.       After the wizard completes the installation, click Finish.

 Procedure

 To install FTP Server on Windows

1.       Click Start, point to Control Panel, and then click Add or Remove Programs.

2.       Click Add/Remove Windows Components.

3.       In the Components list, click Application Server, click Internet Information Services (IIS) (but do not select or clear the check box), and then click Details.

4.       Click to select the following check boxes (if they are not already selected):

Common Files
File Transfer Protocol (FTP) Service
Internet Information Services Manager

5.       Click to select the check boxes next to any other IIS-related service or subcomponent that you want to install, and then click OK.

6.       Click Next.

7.       When you are prompted, insert the Windows Server 2003 CD-ROM into the computer's CD-ROM or DVD-ROM drive or provide a path to the location of the files, and then click OK.

8.       Click Finish.

IIS and the FTP service are now installed. You must configure the FTP Service before you can use it.

 

Configure The FTP Service

To configure the FTP Service to allow only anonymous connections, follow these steps:

1.       Start Internet Information Services Manager or open the IIS snap-in.

2.       Expand Server_name, where Server_name is the name of the server.

3.       Expand FTP Sites

4.       Right-click Default FTP Site, and then click Properties.

5.       Click the Security Accounts tab.

6.       Click to select the Allow Anonymous Connections check box (if it is not already selected), and then click to select the Allow only anonymous connections check box.

When you click to select the
Allow only anonymous connections check box, you configure the FTP Service to allow only anonymous connections. Users cannot log on by using user names and passwords.

7.       Click the Home Directory tab.

8.       Click to select the Read and Log visits check boxes (if they are not already selected), and then click to clear the Write check box (if it is not already cleared).

9.       Click OK.

10.   Quit Internet Information Services Manager or close the IIS snap-in.

The FTP server is now configured to accept incoming FTP requests. Copy or move the files that you want to make available to the FTP publishing folder for access. The default folder is drive:\Inetpub\Ftproot, where drive is the drive on which IIS is installed.

 

Installing IIS 7.0 on Windows Server 2008

�

By default, IIS 7.0 is not installed on Windows Serverョ 2008. You can install IIS by using the Add Roles wizard in Server Manager or by using the command line.

When you install Windows Server 2008, you can perform a Server Core installation, which installs a minimal server installation of Windows Server 2008. For example, with this type of installation the traditional Windows interface is not installed, so you must configure the server from the command prompt.

If you use a Server Core installation, you cannot install some modules that rely on the .NET Framework or managed code. For this reason, we also provide procedures that show how to install IIS 7.0 on a Windows Server 2008 Server Core installation.

Requirements

Administrative Credentials

You must be a member of the following IIS administrative role or roles to perform this procedure:

You can perform this procedure using the user interface (UI).

1.       Click Start, point to Administrative Tools and then click Server Manager.

2.       In Roles Summary, click Add Roles.

3.       Use the Add Roles Wizard to add the Web server role.

4.       Enable the following� components

キ          ISAPI Extensions

キ          Basic Authentication

キ          Windows Authentication

キ          Management Tools� - Including IIS 6 Management Compatibility

  Note :� Please download and install Webdav Extension for IIS 7 from the below URL� ( for x86 )

- http://www.microsoft.com/downloads/details.aspx?FamilyID=036269FA-0040-4CCD-AD3D-78DA1EE132FB&displaylang=en

and for x64 http://www.microsoft.com/downloads/details.aspx?familyid=13E97AAA-FB1B-4CF8-B95F-19AE02321385&displaylang=en

 

 

 Installing IIS 7.5 on Windows 2008 R2 / Windows 2007

�

Requirements

Administrative Credentials

You must be a member of the following IIS administrative role or roles to perform this procedure:

You can perform this procedure using the user interface (UI).

 

5.       Click Start, point to Administrative Tools and then click Server Manager.

6.       In Roles Summary, click Add Roles.

7.       Use the Add Roles Wizard to add the Web server role.

8.       Enable the following� components

キ          WebDav Publishing

キ          ISAPI Extensions

キ          Basic Authentication

キ          Windows Authentication

キ          Management Tools� - Including IIS 6 Management Compatibility

 

How to setup and configure an FTP server in IIS

The first thing you値l need to setup your own FTP server in Windows is to make sure you have Internet Information Services (IIS) installed. Remember, this only comes with Windows XP Professional or Windows Vista Business or higher.

Click on Start, Control Panel and go to Add/Remove Programs. Then click on Add/Remove Windows Components.

add remove programs

In the components wizard, scroll down until you see IIS in the list and check it off. Before you click Next though, make sure you click on Details and then check off File Transfer Protocol (FTP) Service.

iis

file transfer protocol

Click OK and then click Next. Windows will go ahead and install the necessary IIS files along with the FTP service. You may be asked to insert your Windows XP or Windows Vista disk at this point.

Setup and configure IIS for FTP

Once IIS has been installed, you may have to restart your computer. Now we want to go ahead and open the IIS configuration panel to setup our FTP server. So go to Start, then Control Panel and click on Administrative Tools. You should now see an icon for Internet Information Services.

IIS[6]

When you open IIS for the first time, you値l only see your computer name in the left hand menu. Go ahead and click the + symbol next to the computer name and you値l see a couple of options like Web Sites, FTP Sites, etc. We池e interested in FTP Sites, so expand that out also. You should see Default FTP Site, click on it.

ftp site

You値l notice after you click on the default FTP site that there are a couple of buttons at the top that look like VCR buttons: Play, Stop, and Pause. If the Play button is greyed out, that means the FTP server is active. Your FTP server is now up and running! You can actually connect to it via your FTP client software. I use Smart FTP, but you can use whatever you like best.

Open your FTP client software and type in localhost as the host name and choose Anonymous for the login. Connect and you should now see an empty folder.

localhost

Ok, so that痴 step 1! Now where the heck is this folder that you are currently viewing? Well the default FTP site is actually located in C:\Inetpub\ftproot. Open this directory and dump some files into it.

ftp files

Now refresh on your FTP client and you should now see your files listed!

ftp sites

So you now have an up and running FTP server on your local computer. Before I show you how you can create separate folders that are stored in a different directory other than the default Inetpub folder, let痴 first connect to our FTP server from another computer on the network.

In order to do this, you値l have to open up the Windows Firewall to allow FTP connections to your computer, otherwise all external computers will be blocked. You can do this by going to Start, Control Panel and then clicking on Windows Firewall. Click on the Advanced Tab.

windows firewall

Under the Network Connection Settings section, make sure all of the connections are checked in the left list and then click on the Settings button. You値l now be able to open certain ports on your computer based on the service your computer is providing. Since we are hosting our own FTP server, we want to check off FTP Server.

ftp services

A little popup window will appear with some settings that you can change, just leave it as it is and click OK. Click OK again at the main Windows Firewall window. You have now opened up the firewall for FTP connections. Now try to connect to your FTP site from a different computer on your network. You値l need to get the IP address of the computer first before you can connect into it from a different computer.

Go to Start, click Run and type in CMD. Type IPCONFIG and jot down the number for IP Address:

ip address

In your FTP client on the other computer, type in the IP Address you just wrote down and connect anonymously. You should now be able to see all of your files just like you did on the FTP client that was on the local computer.

Now that the FTP site is working, you can create as many folders as you like for FTP purposes. In this way, when a user connects, they specify a path that will connect to one specific folder.

Back in IIS, right click on Default FTP Site and choose New, and then Virtual Directory.

virtual directory

When you create a virtual directory in IIS, you池e basically going to create an alias that points to a folder on the local hard drive. So in the wizard, the first thing you値l be asked is for a alias name. Make is something simple and useful like �WordDocs� or �FreeMovies�, etc.

virtual directory alias

Click Next and now browse to the path where you want the alias to refer to. So if you have a bunch of movies you want to share, browse to that folder.

ftp server

Click Next and choose whether you want it as Read access only or Read and Write access. If you simply want to share files, check Read. If you want people to be able to upload files to your computer, choose Read and Write.

read write

Click Next and then click Finish! Now you値l see your new virtual directory below the default FTP site. You can connect to you using your FTP client by putting in the Path field �/Test� or �/NameOfFolder�.

ftp connection

Now you値l only see the files that are in the folder we had browsed to.

anonymouse

And that痴 about it! You can create as many folder as you like! The only thing other thing that you would need to do is to give out your public IP address to anyone who is connecting from outside of your internal network. If you want users to connect from anywhere in the world, you値l have to give them your public IP address, which you can find out by going to http://whatismyipaddress.com/.

Finally, you値l need to forward the FTP port on your router to your local computer that is hosting the FTP server. Port Forward is a great site to show you how to forward ports on your router to computers on your home network.

Any questions, post a comment! Enjoy!

[tags]setup ftp server, setup ftp server iis, setup windows FTP server, windows xp

ftp server, configure ftp server, how to ftp server[/tags]