Install IIS on Windows Server 2008 R2
This topic describes how to install Internet Information Services (IIS) on an Elastic Compute Service (ECS) instance that runs Windows Server 2008 R2.
Note:
If you perform risky operations, such as modifying instances or data, ensure that your instances have disaster recovery and fault tolerance capabilities to protect your data.
Before you modify the configurations or data of instances, such as ECS or ApsaraDB RDS instances, create snapshots or enable features such as log backup.
If you have submitted security information, such as logon credentials, on the Alibaba Cloud platform, change them promptly.
Microsoft ended support for the Windows Server 2008 and Windows Server 2008 R2 operating systems on January 14, 2020. Alibaba Cloud no longer provides technical support for ECS instances that use these operating systems. Technical documents related to these systems are for reference only. If you use ECS instances that run these operating systems, update them to Windows Server 2012 or a later version as soon as possible.
Install IIS on Windows Server 2008 R2
Connect to the server. In the lower-left corner of the desktop, go to Server Manager > Roles > Add Roles.
In the Add Roles Wizard, click Next.
On the Server Roles page, select the Web Server (IIS) check box, and then click Next.
On the Web Server (IIS) page, click Next.
On the Role Services page, select the IIS components that you need, or keep the default selections. Then, click Next. You can repeat these steps later to install additional IIS components.
On the Confirmation page, click Install.
On the Results page, check the installation result. If Installation succeeded is displayed, IIS is installed. Close the window.
In Server Manager, go to Roles > Web Server (IIS). Open IIS Manager, click Sites to view the default IIS site, and then click Browse to open the default IIS site page.
The default IIS site page opens. If the page is displayed correctly, IIS is installed and running properly.