Set up Selvio on your domain
Serve your Selvio comparison pages under yoursite.com/compare/ with one rewrite rule on your hosting. Guides for Next.js, Vercel, Netlify, Cloudflare and nginx.
What the setup does
Your comparison pages are served by Selvio under yoursite.com/compare/. One rule on your hosting forwards these addresses to Selvio; nothing else on your site changes, and nothing goes live until you publish a page.
It is a proxy, not a redirect: visitors stay on your domain, and the address bar does not change.
Three steps
- Add the rule. The dashboard shows the rule for your platform, already filled in with your domain. Paste it where your platform’s guide says.
- Redeploy the site, or reload your server.
- Click “I deployed it, check” in the dashboard. It opens the check address, for example
https://example.com/compare/_selvio/proxy-check, and expects the answerselvio-proxy example.com.
Pick your platform
- Next.js Add two rewrites to next.config.js so that /compare/ is served by Selvio, then redeploy and check.
- Vercel For sites hosted on Vercel without Next.js: two rewrites in vercel.json, a redeploy, and the check.
- Netlify Two proxy lines with a forced 200 status in the _redirects file of your published folder, then redeploy and check.
- Cloudflare For any site behind Cloudflare: deploy a small Worker and route /compare* on your domain to it.
- nginx Two location blocks in the server block of your site, a configuration test, and a reload.
- Webflow, Framer Site builders have no rewrite rules. Put Cloudflare in front of your domain, then deploy the Selvio Worker on /compare*.
- AI assistant The dashboard gives a ready prompt for your site. Paste it in Claude Code or Cursor, review the change, deploy, then check.
Which one
The dashboard guesses your platform from your home page, and shows it as a guess: pick another one if it is wrong.
- A Next.js app, on Vercel or elsewhere: Next.js.
- Another site hosted on Vercel: Vercel. On Netlify: Netlify.
- Your own server: nginx. A site already behind Cloudflare: Cloudflare.
- Webflow, Framer, Wix, Squarespace: Webflow, Framer.
- A code repository and an assistant such as Claude Code or Cursor: AI assistant.
To undo
Remove the rule and redeploy: your site is back to how it was.
Stuck?
Write to team@selvio.io with your domain and your platform. We can also set it up with you on a call.