Configure Default Site

Configure the default site on IIS

Open the Server Manager dashboard, click Tools, and select Internet Information Services(IIS) Manager.

Install and Configure IIS Web Server on Windows Server 2022

Right-click on Default Web Site, Click Manage Website, and select Advanced Settings.

Install and Configure IIS Web Server on Windows Server 2022

In Advanced Settings, click on Physical Path to choose a different document root.

Install and Configure IIS Web Server on Windows Server 2022

Select the document root folder. (C:\website)

Install and Configure IIS Web Server on Windows Server 2022

Click OK to continue.

Install and Configure IIS Web Server on Windows Server 2022

The Default documents feature in IIS Manager helps you to specify the default files.

Install and Configure IIS Web Server on Windows Server 2022

Default Documents.

Install and Configure IIS Web Server on Windows Server 2022

Create an index.html file in the document root and Verify access with a Web browser.

Install and Configure IIS Web Server on Windows Server 2022

Last updated

Was this helpful?