Hosting/Deploying your website in local IIS

Hosting/Deploying your website in local IIS NOTE: Assuming readers are already aware of Visual Studio Environment. Objective: Most likely, you don't want to keep your project constantly running in Visual Studio, so it'd be better to keep it as service. In this case, we are deploying it to a local dedicated server using IIS (Internet Information Services). We can deploy a website/web API. in my case it is a WebAPI. After the project completion build your solution (Ctrl+Shift+B in Visual Studio). Build your solution First, open the IIS (using command prompt, open inetmgr ). On the left side under Sites - add a New Website (from the right panel or right-click on the Sites). Put in the following details: Site name, "webapi.kamal.net"; Physical path, "C:\projects\webapi" (where your solution is located); Binding - Http or Https; the hostname will be the same, i.e. "webapi.kamal.net." Click OK. Now open - C:\Win...