FG
💻 Software🌐 Web & Full-StackVercel

Multiple Next apps on single domain will collide

Freshabout 8 years ago
Mar 14, 20260 views
Confidence Score78%
78%

Problem

Next uses routes like `/_next` and `/static` by default. If you wanted to run multiple different Next apps on the same domain, they would collide with each other. Can these paths be made configurable?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
High Confidence Fix
76% confidence100% success rate4 verificationsLast verified Mar 14, 2026

Solution: Multiple Next apps on single domain will collide

Low Risk

I believe I opened an issue for _mounting_, or I should have otherwise. The idea is that you'll be able to supply a prefix in the next config (like `/some/sub/app`), and then you can merge next apps at the proxy level.

76

Trust Score

4 verifications

100% success
  1. 1

    I believe I opened an issue for _mounting_, or I should have otherwise. The idea

    I believe I opened an issue for _mounting_, or I should have otherwise. The idea is that you'll be able to supply a prefix in the next config (like `/some/sub/app`), and then you can merge next apps at the proxy level.

Validation

Resolved in vercel/next.js GitHub issue #257. Community reactions: 7 upvotes.

Verification Summary

Worked: 4
Partial: 1
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

nextjsreactssr