You can create a new website within Internet Information Services (IIS) to host web content on a Windows Server. This process allows an administrator to define the site's binding, physical path, and application pool.
Before you begin
You will need:
Administrator privileges on the Windows Server.
The local file path where the website content is stored.
The domain name or IP address you intend to bind to the site.
Create a new website in IIS
Open Internet Information Services (IIS) Manager.
In the Connections pane, select the server name.
In the Actions pane, click Add Website.
In the Add Website dialog, enter the following information:
Site name: Enter a unique name for the website.
Application pool: Select the appropriate application pool (or leave as default).
Physical path: Click the ellipsis button and browse to the folder containing your website files.
Binding: Enter the IP address (or leave as all unassigned), the port (usually 80 or 443), and the Host name (e.g.,
example.com).
Click OK.
Confirm the result
The new website will appear in the Sites folder within the IIS Manager Connections pane.
You can verify the site is active by navigating to the assigned Host name in a web browser. The browser should load the content from the specified physical path.
Limitations
This procedure creates the basic website structure in IIS. It does not include the automatic generation of SSL certificates or the configuration of specific application-level settings (such as .NET versions or specific module behaviors). Those must be configured within the specific site's settings or via the Windows Control Panel.
