← back to Dw Internal Gateway
gateway: route vcc.designerwallcoverings.com to VCC :9660 — TK-11765
c11fbddf882a6f9d7b968197af35b8e5c55b8443 · 2026-09-15 10:52:19 -0700 · Steve
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TYA9my6goouV4oTPfokVr8
Files touched
Diff
commit c11fbddf882a6f9d7b968197af35b8e5c55b8443
Author: Steve <steve@designerwallcoverings.com>
Date: Tue Sep 15 10:52:19 2026 -0700
gateway: route vcc.designerwallcoverings.com to VCC :9660 — TK-11765
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TYA9my6goouV4oTPfokVr8
---
server.js | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/server.js b/server.js
index faa764f..cfc8728 100644
--- a/server.js
+++ b/server.js
@@ -418,6 +418,13 @@ const server = http.createServer(async (req, res) => {
}
const host = (req.headers.host || '').split(':')[0].toLowerCase();
+
+ // Alias host (TK-11765): vcc.designerwallcoverings.com → the Vendor Command
+ // Center on :9660 (the VCC "All DW Programs" hub). Resolved locally to
+ // 127.0.0.1 via /etc/hosts; forwarded auth (admin:DW2024!) satisfies VCC's
+ // own gate. Kept above the internal.dw match so *.internal.dw is untouched.
+ if (host === 'vcc.designerwallcoverings.com') return proxy(req, res, ROUTES.vcc || 9660);
+
const m = host.match(/^(?:([a-z0-9-]+)\.)?internal\.dw$/);
const slug = m ? m[1] : null;
← 578bdc2 route vcc.internal.dw -> :9660 (Vendor Command Center)
·
back to Dw Internal Gateway
·
(newest)