4

Deploy Angular Application to IIS - Angular 2, 4, 5, 6 and 7

Deploy Angular Application to IIS -
In this article, I am showing the steps to deploy angular applications in a production scenario. For the same, we need to do some configuration to make it works.

The configuration steps as following as -

Steps 1 - Setup Internet Information Services (IIS) in your machine if not installed
Steps 2 - Run the command (ng build –prod) in your Angular application directory.

After the above command executed successfully! The “dist” folder created automatically in your application directory.

See the pic 1 and 2.
and

Steps 3 – Copy the created “dist” folder and put as per your suitable folder directory.
Steps 4 - Deploy your angular app (dist folder) in the web root in IIS.
Steps 5 - Assign the port for this app (like port:8090)
Steps 6 – Add the user access (authentication and authorizations) for this app folder.
Steps 7 – finally open this app/project on your web browsers.

Stayed informed Angular4, 5, and 6 questions

I hope you understand these steps if not so please send me an email and will update this article to make more effective.

ANIL SINGH

Anil Singh is an author, tech blogger, and software programmer. Book writing, tech blogging is something do extra and Anil love doing it. For more detail, kindly refer to this link..
My Blogs - https://code-sample.com and https://code-sample.xyz
My Book1 - BEST SELLING ANGULAR BOOK (INCLUDING ALL VERSIONS 2, 4, 5, 6, 7)
My Book2 - ANGULAR 2 INTERVIEW QUESTIONS BOOK - Both Books are Available on WorldWide.

www.code-sample.com/. Powered by Blogger.