Host a Node.js /w Next.js Application
Intro
Step 1: Install Node.js on Windows Server
node -v npm -v
Step 2: Copy or Build Your Next.js App
npm install
npm run build
npm run startStep 3: Set Up IIS as a Reverse Proxy
Install URL Rewrite & ARR (Application Request Routing)
Enable Proxy in ARR
Create a Website in IIS
Add URL Rewrite Rule
Step 4: Make Sure the App Is Running Continuously
Step 5: Test Public Access
REFERENCES
Last updated