Hosting Angular ng on IIS

Step1: build the angular application using Command ng build –prod –build-optimizer Step2: Deploy the dist folder on the IIS server Step3: Add the web.config file in the deployment folder so that IIS can understand how to run the angular application request <configuration> <system.webServer> <rewrite> <rules> <rule name=”IP Hit” stopProcessing=”true”> <match url=”(.*)” /> <conditions> <add input=”{HTTP_HOST}”…

Continue reading