Vercel CDN now fronts any application, including Discourse and WordPress
Vercel's CDN can proxy any external application to add firewall protection, DDoS mitigation, and observability without full migration. By combining CDN proxying with Vercel's microfrontends, you can incrementally modernize existing platforms while keeping them running, enabling features like authentication, custom pages, and bot management.
Vercel's CDN can front any application, not just those deployed natively on the platform, and it's simple to set up. This allows you to add firewall protection, DDoS mitigation, and observability to platforms like Discourse or WordPress without migrating them completely.
The is an example of this architecture. It is a Discourse application hosted elsewhere, but we proxy it ourselves via Vercel's CDN, which both protects the app and gives us access to useful features in Vercel's website stack: Vercel Community
Some parts of the community platform, like, run directly on Vercel with Next.js. We use to mount a Next.js app on the same domain as the Discourse app, for three reasons: Vercel Community live sessionsVercel Microfrontends
When the new pages are ready to launch, we add the path to our microfrontends configuration and users are rerouted seamlessly on the next deploy.
To set up Vercel as a CDN proxy like this, you need two domains:
Ensure that all links on the site and its canonical URLs use the outer domain.
Once those are in place, create a new project on Vercel that deploys to the outer host. You can then use to rewrite traffic to the inner domain. (formerly vercel.json) vercel.ts
To extend the community forum beyond the limits of Discourse, we configured with the outer host domain using a. vertical microfrontend approach
Vercel's microfrontends allow you to mount different Vercel projects to different route paths. We added a file that directs traffic for specific routes to separate Vercel projects. microfrontends.json
Additional pages can be added incrementally, route by route. We also added the route to use for event creation and video processing..well-known/workflowWorkflow Development Kit
While you could accomplish some of this by using negative matching in the proxy regex to avoid proxying certain routes, splitting the projects provides better isolation. This approach allows for independent environment variables and organization permissions, locking down the project that talks to the third-party host.
At this point, you have Vercel's CDN standing between your users and your origin server. All traffic flows through Vercel's global network, giving you enterprise-grade security without touching your existing application.
You get even more flexibility when you combine this with microfrontends. You now have a path to modernize your application incrementally. Instead of a "big bang" refactor, you can create a Next.js application and turn on specific routes one by one, while your core application continues to run on Discourse, WordPress, or whatever platform it is built on.
This architecture unlocks a pragmatic path forward: secure your existing investment with Vercel's CDN today, then layer modern features on top tomorrow, all without the risk of a full platform migration.
Learn more by reading the or see it in action at .Vercel microfrontends documentationcommunity.vercel.com/live
gives us anonymized, cookie-free demographic and referrer data, so we can see where users are coming from and what they're looking for.Web Analytics
gives us DDoS protection and has automatically prevented several attacks in the last year.Firewall
lets us block malicious scrapers while allowing trusted crawlers to index the forum and allow community posts to show up in ChatGPT searches.Bot Management
To create new pages that would be impractical to implement as CMS plugins.
To overwrite existing Discourse pages that we can't fully customize.
To keep users authenticated through Sign in with Vercel
Vercel as a CDN
Running multiple apps on a single domain with microfrontends
A modern CDN without a massive migration
The origin server where the site is actually hosted. This might look like Inner host:
your-site.discourse.comThe Vercel project domain that users interact with, such as Outer host:
community.vercel.com
Source: original entry ↗
More from Vercel
Follow Vercel to get its new changes in your feed and email digest.
Updates to Hobby and Pro Terms of Service
Vercel is updating Terms of Service for Hobby and Pro customers effective October 19, 2026, clarifying credit policies, managed accounts, auto-renewal practices, and adding statutory cancellation and refund rights for UK and EU consumers, including protections for service changes with negative impact.
Mercury 3 now available on AI Gateway
Inception's Mercury 3 model is now available on Vercel's AI Gateway with 50% launch pricing and generation speeds exceeding 1,000 tokens per second. The model enables parallel text refinement with a 1M-token context window, ideal for real-time applications like browser agents and customer support.
MiniMax M3.1 Flash now available on AI Gateway for free
MiniMax M3.1 Flash, an open-weight multimodal model with 1M-token context window for coding and agentic work, is now available on Vercel's AI Gateway at no cost through October 20. The model excels at complex agent tasks, coding applications, and cybersecurity work, and can be used through multiple APIs and coding agents.