Setting up the Application in IIS
Assuming you have just installed IIS. Stop the default web application.
Add a new website for our application.
Specify a web site name – and select the path C:\www\intranet-app1 (the path we shared earlier in part 2).
After clicking “OK” you will get a warning about port 80’s binding. This can be ignored as we have stopped the default web site that was using it.
At this point if you try to access the application it will show an authentication error:
We need to do some further setup to allow our chosen Authentication method. Enable kernel mode authentication on the Intranet-App1:
Enable Windows Authentication
Next Browse to the website – and you should be prompted to perform a domain login: (If you log straight in without being prompted, it may be because you are already logged into the domain, in that case start a private browsing session and retry.)
You should now see the website page you created in Visual Studio
Up to this point you have an application running on your Intranet, authenticating using your own Active Directory credentials.
In Part 4 we’ll enable Azure Application Proxy to make this application securely available to external (Internet) users.