hi, anybody configured a reverse proxy setup on windows behind an IIS so far? Thought I’ll ask before I’ll make this a short night.
Michael
hi, anybody configured a reverse proxy setup on windows behind an IIS so far? Thought I’ll ask before I’ll make this a short night.
Michael
Yes! To set up an IIS reverse proxy on Windows:
Install Prereqs:
• URL Rewrite Module
• Application Request Routing (ARR)
Enable Proxy in IIS:
• Click Server Node > Application Request Routing Cache.
• Click Server Proxy Settings (right pane) > Check Enable proxy > Apply.
Create Rewrite Rule:
• Select your Web Site > open URL Rewrite.
• Click Add Rules > select Reverse Proxy.
• Enter your backend IP/port (e.g., localhost:8080).
Common Pitfalls to Avoid:
• If backend requires original domain: Run appcmd.exe set config -section:system.webServer/proxy /preserveHostHeader:"True" /commit:apphost
• For WebSocket support: Ensure WebSockets IIS feature is installed.
• Check that backend ports aren’t blocked by Windows Firewall.