Skip to main content

How do I connect my Cloudflare domain to Perspective?

The three Cloudflare setups Perspective supports, including proxying so your own redirects, headers and Workers run first.

Connect a domain you manage in Cloudflare to Perspective, and choose whether Cloudflare proxies your traffic or only serves the DNS record. All supported setups use the same CNAME record, so the choice is about what Cloudflare does with the traffic, not about how you connect.

Proxying is what you pick when you need redirects, custom headers, or your own Worker to run before a visitor reaches your funnel.

TL;DR

  • Every Cloudflare setup uses the same record: a CNAME pointing at cname.perspective-dns.com.

  • DNS only (grey cloud) is the standard setup and works like any other provider. Cloudflare’s CNAME flattening also lets you connect a root domain this way.

  • Proxied (orange cloud) additionally lets your own Redirect Rules, Transform Rules, and Workers run before Perspective. Proxying works on a subdomain, not on a root domain.

ℹ️ Connect your domain with DNS only first. Switch the record to Proxied only once Perspective shows the domain as Ready, so the connection is confirmed before Cloudflare starts handling the traffic.

Which Cloudflare setup should I use?

The table below compares the setups Perspective supports. They all use the same CNAME target, so you move between them by changing the record’s Proxy status.

Setup

Record

Proxy status

Use it when

Subdomain

Name your subdomain, Target cname.perspective-dns.com.

DNS only

You want your funnel on a subdomain like funnel.domain.com. This is the same setup as every other provider.

Root domain

Name @, Target cname.perspective-dns.com.

DNS only

You want your funnel on your root domain like domain.com. Cloudflare flattens the record for you.

Proxied subdomain

The same CNAME on a subdomain

Proxied

You need your own redirects, headers, or a Worker to run before Perspective.

Proxying a root domain isn’t supported yet. Use a proxied subdomain such as www, or keep your root domain on DNS only.

How do I connect my domain to Perspective in Cloudflare?

  1. In Perspective, open Domains from your account menu, click Add Domain, choose Connect your own domain, and enter the domain you want to use. Our step-by-step guide covers this part in full.

  2. In Cloudflare, open your domain and go to DNS > Records, then click Add record.

  3. Choose CNAME as the type. In Name, enter the part of your subdomain before the first dot, for example “funnel”, or enter “@” for your root domain.

  4. In Target, enter cname.perspective-dns.com.

  5. Set Proxy status to DNS only, so the grey cloud shows, and save the record.

This shows the CNAME record that connects your domain to Perspective, with Proxy status set to DNS only.

Back in Perspective, your domain shows as Ready once it has been verified and your SSL certificate has been issued. This can take up to 24 hours depending on your setup. From here, you can publish funnels on it, or move on to the proxied setup below.

💡 If you enter a root domain, Perspective warns you that a root domain can clash with an existing website or email setup on the same domain, and asks you to confirm before continuing. On a domain you only use for funnels, there is nothing to clash with, so you can confirm and carry on.

How do I switch my subdomain to Proxied?

Switching to Proxied puts your Cloudflare zone in front of Perspective, so your own rules run first. Do this only once Perspective shows your domain as Ready, and only on a subdomain.

  1. In DNS > Records, open your CNAME record and set Proxy status to Proxied, so the orange cloud shows.

    This shows the same record with Proxy status switched to Proxied.

  2. Go to SSL/TLS > Overview and check your encryption mode. Leave Automatic SSL/TLS on, or choose Full (Strict). Don’t use Flexible, because Cloudflare then reaches Perspective over plain HTTP, which can end in redirect loops.

    This shows where to check your encryption mode. Automatic SSL/TLS and Full (Strict) both work.
  3. Go to Speed > Settings and turn off Rocket Loader™ for this hostname. If you need it elsewhere in your zone, scope it with a Configuration Rule instead of turning it off everywhere.

  4. In your caching settings, make sure you are not caching HTML in your zone, so visitors always get the current version of your funnel.

  5. Check that your firewall (WAF) rules, Page Rules, and Workers that match this hostname don’t block the traffic. A Worker should pass anything it doesn’t handle through to Perspective.

Your funnel keeps loading on the same address, now served through your own Cloudflare zone.

The encryption mode applies to your whole Cloudflare zone. If you don’t want to change it for every hostname, leave it as it is and set Full (Strict) for this one hostname with a Configuration Rule under Rules > Overview > Create rule.

ℹ️ Your Perspective certificate keeps renewing automatically as long as the CNAME points at cname.perspective-dns.com. Your visitors see the certificate from your own Cloudflare zone. Leave that certificate active, since the instruction to deactivate your SSL certificate applies to DNS-only setups.

What can I set up in Cloudflare once my domain is proxied?

Proxying is the way to do things Perspective doesn’t offer natively, because your zone handles the request before Perspective does. These rules only run while the record is Proxied. Common examples:

  • Redirect a start URL, or any other path, with a Redirect Rule under Rules > Redirect Rules.

  • Add a response header such as X-Robots-Tag under Rules > Overview > Create rule > Response Header Transform Rule. Choose Set static, enter X-Robots-Tag as the header and your value, for example noindex.

  • Serve a file like /robots.txt from your own Worker, and pass everything else through to Perspective.

  • Route one path, for example /guides/*, to a different origin while the rest of the domain stays on your funnel.


FAQ

Does my Perspective SSL certificate still renew when my domain is proxied?

Yes, your Perspective certificate keeps renewing automatically while your CNAME points at cname.perspective-dns.com. Renewal uses HTTP validation, which still works behind your Cloudflare proxy.

Do I need to deactivate my SSL certificate in Cloudflare?

No. The instruction to deactivate an active SSL certificate applies to DNS only setups. When your record is Proxied, your visitors see the certificate from your own Cloudflare zone, so leave it active.

Can I connect my root domain to Perspective with Cloudflare?

Yes, on DNS only. Cloudflare supports a CNAME on the root domain and flattens it automatically, so a root domain like domain.com works. Use “@” as the Name and cname.perspective-dns.com. as the Target. Proxying a root domain isn’t supported yet, so if you want your own rules to run first, use a proxied subdomain such as www instead.

My DNS lookup shows A records instead of my CNAME. Is that wrong?

No, that is how a proxied record is supposed to look. Once Proxy status is Proxied, a lookup from outside returns Cloudflare’s own IP addresses rather than your CNAME, because Cloudflare answers on your behalf. Your CNAME is still there in DNS > Records, so don’t delete it. Troubleshooting advice about removing extra A records on the same host applies to DNS only setups.

How do I undo the proxied setup?

Set Proxy status back to DNS only on your CNAME record in DNS > Records. Your domain goes back to the standard connection straight away, and nothing else in your Perspective setup changes. Cloudflare asks you to confirm, and warns that changing the DNS target breaks the provider’s services. Changing only the Proxy status doesn’t change the target, so you can confirm.

Can I serve my own robots.txt or set custom headers on my funnel?

Yes, once your subdomain is proxied. Serve a file like /robots.txt from a Worker in your own Cloudflare zone, and add response headers with a Response Header Transform Rule. Make sure your Worker passes anything it doesn’t handle through to Perspective.

Did this answer your question?