Installing and Enabling IIS and FTP on Windows Server 2012

To install the role using PowerShell, use these steps. PowerShell must be run using Administrator rights. Installing IIS and all subfeatures can be run in 2 commands:

Import-module servermanager

Add-windowsfeature web-server –includeallsubfeature

iisimage001

To install the role using Server Manager, follow these steps:

Open Server Manager, go to Configure this local server->Add roles and features

iisimage003

In the Add Roles and Features Wizard, select Role-based or feature-based installation

iisimage005

Select the local server listed in the Select a server from the server pool

iisimage007

Select Web Server (IIS) and the associated roles in the popup

iisimage009

iisimage011

Select ‘Next’ to the Role Services selection for the IIS Role and check the FTP server and Service boxes

iisimage012

On the confirmation page verify that the necessary services are included and click ‘Install’

iisimage014

Now that the role is installed, open IIS management from the Administrative Tools

iisimage016

Expand the tree to Sites, right click the Sites directory, and click ‘Add FTP Site’ to create a site with an FTP instance name and physical directory

image018

Configure Binding and SSL. In our case, we’d like to bind to all unassigned IP addresses and do not use SSL

iisimage020

Enable Basic Authentication and configure authorization. In our case, we start with allowing All users both Read and Write permission as long as all users on the server are password protected

image022

Click Finish to complete the site creation