Steps to upload and configure website files using IIS,
Place the website files(html, css,js,asp net) in a folder on the server path (C:\inetpub\wwwroot\website files)
Open IIs Manager - Search for IIS in windows start menu to open Internet information services Manager.
Create Site- expand the server node in the Connections pane.
Right click Site and select Add website.
Enter a Site Name and set the physical path for your folder and set the port(80 or 443) and Click Ok. Then Set Configuration application pool, permissions for IUSR and verify hosting.
Use a browser to access website IP address in a local machine and check website is loading without issues.
Ports are set via bindings,
In IIS Manager, expand sites and select your websites.
In the Actions pane, click bindings then click Add. Set,
Type: http for port 80 , https for port 443
Ip address: usually * (all unassigned) or you can assign a specific IP
Port: 80(http) or 443(https)
Host Name: Optional (for host header-based sites; useful if multiple sites share the same IP/port).
For https: you can also select an SSL certificate for bindings.
Click Ok and restart the site if required.
Once files are placed in IIS folder,
Open IIS Manager , in the connections pane, expand your server mode.
Right click sites and add website.
Fill in site name, application pool, physical path where you placed the file and set type (http/https), click on Ok. The site should start automatically. You can do via power shell. Restart the site or application pool if required.