All guides

Set up Selvio on Webflow or Framer

Site builders have no rewrite rules. Put Cloudflare in front of your domain, then deploy the Selvio Worker on /compare*.

Why Cloudflare

Webflow, Framer and other site builders host your site but do not let you add a rewrite rule. Cloudflare can sit in front of your domain: it passes every request to your builder as before, and a small Worker sends /compare/ to Selvio.

Site on Framer: write to us first

Framer asks for its domain to stay DNS only (grey cloud): behind Cloudflare’s proxy, its certificate may stop renewing, and the site go down weeks later. This guide therefore does not apply to Framer.

Before you start

1. Add your domain to Cloudflare

In Cloudflare, add your domain. Cloudflare reads your current DNS records and imports them. Compare them with your list: every record must be there, with the same value, including the email ones (MX, TXT). Add any that are missing.

2. Keep the records, proxy the site

Do not change any value your builder gave you. Set the records of the site itself (the root domain and www) to proxied, the orange cloud. Leave the email records as they are.

In the SSL/TLS settings, choose the Full (strict) encryption mode. With Flexible, a builder that forces HTTPS can loop on redirects.

On Webflow, Cloudflare’s proxy is supported on three conditions:

3. Change the nameservers

Cloudflare gives you two nameservers. At your registrar, replace the current nameservers with these two. The change takes from a few minutes to 48 hours; Cloudflare shows when the domain is active. The site stays online meanwhile: the records are the same on both sides.

4. Deploy the Selvio Worker

Follow the Cloudflare guide: create the Worker with the code from the dashboard, deploy it, and add the route example.com/compare*, plus www.example.com/compare* if your site answers on www. Keep the route this narrow: a Worker on the whole domain would get in the way of your builder’s traffic.

5. Check

Open https://example.com/compare/_selvio/proxy-check in a browser, or run this command. The address must answer 200 with this text: selvio-proxy example.com.

Terminal
curl -i https://example.com/compare/_selvio/proxy-check

Then click I deployed it, check in the dashboard: it reads the same address on your domain. The check works before anything is published.

Common pitfalls

To undo

Delete the Worker routes: your builder serves the site through Cloudflare, as before. To leave Cloudflare, set the previous nameservers back at your registrar.

The people leaving your competitor will read a page. Make it yours.

Enter your site: Selvio picks up your brand style, suggests your competitors and checks their prices.

Free, no credit card. Nothing goes live without you.