Vercel

Vercel Introduces Dynamic Prefixes for Multi-Tenant Preview Deployment URLs.


Executive Summary

Vercel has launched a new feature allowing dynamic prefixes to be added to preview deployment URLs, specifically to support multi-tenant applications. This enables developers to create unique, routable URLs for different tenants or contexts (e.g., `tenant-123---project.vercel.app`) by encoding information directly in the URL. The feature is available for Pro and Enterprise customers and requires the Preview Deployment Suffix add-on.

Key Takeaways

* Dynamic URL Prefixes: Users can now add custom prefixes before the `---` separator in a preview URL, and Vercel will route the request to the correct deployment.

* Multi-Tenant Support: The primary use case is creating unique preview URLs for each tenant in a multi-tenant platform.

* Metadata in URL: The feature allows for encoding metadata, routing context, or automation signals directly into the URL structure.

* Availability: This functionality is available for Vercel Pro and Enterprise teams.

* Requirement: It requires a configured "Preview Deployment Suffix," which is a Pro add-on.

Strategic Importance

This enhancement strengthens Vercel's platform for B2B and SaaS developers by simplifying the complex workflow of testing and previewing changes in a multi-tenant environment.

Original article