How to enable the static content for a Web Page/Site in IIS

Question:

Steps to enable the static content for a site in IIS

Windows 7 and above:

  1. Click Start, go to Control Panel, and then select Programs.
  2. Under Programs and Features, choose Turn Windows features on or off. The Windows Features dialog box will appear.
  3. Expand the root-level item Internet Information Services, expand World Wide Web Services, and then expand Common HTTP Features.
  4. Select the Static Content feature as shown in the following image:

 

Windows Server 2008 and Windows Server 2008 R2

  1. Click Start, select All Programs, choose Administrative Tools, and then select Server Manager.
  2. In the navigation pane, select Roles, and then choose Add Roles.
  3. In the Before You Begin window, click Next.
  4. Go to Select Server Roles window > Web Server (IIS) > Next > Next.
  5. In the Select Role Service window, expand Common HTTP Features, and then select Static Content as shown in the following image:

 

 

Creation date: 1/31/2020 12:52 PM      Updated: 1/31/2020 12:53 PM
Files   
DataImage10.png
290.8 KB
DataImage42.png
182 KB