Snoika
Platform · Integrations

Cloudflare reverse proxy for Snoika pages

Snoika's Cloudflare reverse proxy puts new and updated pages on your own domain and leaves your current site as it is, with its hosting and code unchanged. With your DNS on Cloudflare, you turn on the proxy and install a small Worker with the values Snoika gives you. Snoika's team checks the setup before any page goes live. Most teams can follow the guide below and connect their domain in one session.

CDN connectionsLast 30 days
CHATGPT VISIBILITY10×1StopVAT, 7 weeks
INBOUND LEADS3–4/day3DPrinterOS
LANGUAGES135+with regional variants

Trusted by

1StopVAT logoABS Technologies logoVespia logoAgrello logo3DPrinterOS logoRedDogFish logoLappa logoEGS logoInvestViable logoDoocat logoTNT Wellness logoSmartbet logoAgritopia logoxtrnd logoGreen Bay Remodeling logoWearfits logoad agents logoAcudo logoConnect Point logoBlissed logoeFarm logoEvolved Ideas logoAlpa Kids logoDental Art Clinic logoPhoto9 logo
01

Routing via a Cloudflare Worker

A Cloudflare Worker sits in front of your whole domain and decides which requests Snoika serves and which go to your existing site. The connection works at the DNS and CDN level, so it covers the entire website. Snoika can publish a new page or update an existing one anywhere on the domain, with no fixed path or slug. All other requests pass through to your current site unchanged.

A classic Cloudflare reverse proxy subdirectory setup maps one folder to a separate host. With Snoika's setup, visitors and crawlers see one site on one domain, and your existing pages behave as they did before.

02

Why Cloudflare is recommended

Cloudflare is recommended because it's the most common setup and you can do it yourself with Snoika's guide. If your DNS isn't on Cloudflare yet, you move it there first. Then you turn on the proxy (the orange cloud next to a DNS record) and install the Worker. Your servers and code stay as they are.

If your domain already sits behind another CDN or load balancer, Snoika supports those too, as listed further down. Before you move DNS, check that your mail records and all other existing records have been copied into Cloudflare. A missing record is the usual cause of trouble after a nameserver change.

03

How the Worker script works

The Worker is a short script that runs on Cloudflare's network for every request to your domain and sends that request to the right place. When a request arrives, the script checks it against the values Snoika provides. If Snoika handles that page, the Worker fetches it from Snoika and returns it under your domain. For all other pages, the request goes to your origin exactly as it came in.

You create a Worker in Cloudflare and paste in the supplied script. Then you enter the values from Snoika's guide. This is the standard Cloudflare Workers reverse proxy pattern, and the only part specific to your site is the set of values Snoika supplies. Once it's deployed, open some of your existing pages and confirm they still load as before.

worker.jsJavaScript
// Simplified. Snoika's guide supplies the full script and the values.
export default {
 async fetch(request, env) {
  const url = new URL(request.url);
  if (snoikaManages(url.pathname, env)) {
   // A page Snoika manages: fetch it from Snoika's origin, keep your URL
   const upstream = new URL(url.pathname + url.search, env.SNOIKA_ORIGIN);
   return fetch(new Request(upstream, request));
  }
  return fetch(request); // every other request: your existing site, unchanged
 },
};
04

Setting up two Worker routes

Two Worker routes tell Cloudflare to send all traffic through the Worker. One route covers the bare domain and the other covers the www host. Each route ends in a wildcard, so every page on that host reaches the script.

01

In the Cloudflare dashboard, open your domain and go to the Workers Routes page.

02

Add a route for the bare domain with a trailing wildcard, then select the Snoika Worker.

03

Add a second route for the www host the same way.

04

Check that both matching DNS records show the orange cloud. Cloudflare Workers routes only run on proxied traffic.

05

Set each route to fail open. According to Cloudflare's documentation, the fail open route mode lets requests behave as if no Worker were configured, so your site stays up if the Worker hits a limit.

05

What your team configures

Your team's two configuration areas are Cloudflare and the Snoika dashboard. Snoika's team does the checking in between.

In Cloudflare

Your developer or whoever manages DNS makes the changes in your Cloudflare account. That covers the DNS move if you need one and the orange-cloud proxy on the relevant records. The Worker is configured with Snoika's values as part of this setup. It also covers the two routes. None of this needs a deploy to your own site. When you're done, Snoika's team checks the result before any page goes live. If something is off, such as an unproxied record or a route that's missing, it gets fixed at this stage before publication.

In the Snoika dashboard

Your content team approves each page in the dashboard before it goes live. Finished pages can be scheduled for a set date. When a page type doesn't need review, Snoika can generate and publish it automatically. Decide early which pages need sign-off, because that choice controls how fast AI content reaches your domain.

06

SEO value of one domain

The main SEO benefit of a Cloudflare reverse proxy is that every page Snoika publishes sits on your domain and counts toward your own site's SEO. Links those pages earn point to your domain. Internal links between new and existing pages stay on one host. Search engines crawl it all as a single site.

The proxy's SEO value comes from where the content lives. A separate host or a third-party domain builds authority somewhere other than the site you're trying to grow. After launch, check that new pages carry canonical tags pointing to your own domain and that they show up in your sitemap and in Google Search Console.

07

Cloudflare free tier limits

Cloudflare's free tier is enough for most sites running this setup. The limit to watch is daily requests, because every page view that passes through the Worker counts. Cloudflare's Workers limits documentation lists these figures:

LimitWorkers FreeWorkers Paid
Requests100,000 per dayNo limit
CPU time per request10 ms5 min
Subrequests per request5010,000
Memory128 MB128 MB

The daily count resets at midnight UTC. On the free plan, Cloudflare returns Error 1027 past 100,000 requests unless the route is set to fail open. If your traffic gets close to that figure, compare your daily request count in the Cloudflare dashboard with the limit before you launch.

08

Other supported proxy options

Snoika also connects through these other proxy setups:

Fastly, which Snoika's team sets up while you point DNS at Fastly

Google Cloud Load Balancer

AWS CloudFront

Tailored setups on request

Pages can also go live on your domain through a DNS connection to the entire website or a CMS integration. Any custom integration is another publishing option. Whichever route you pick, Snoika builds page templates that match your site. It also configures GA4 and Google Tag Manager events so you can track each page's leads.

09

How to connect Cloudflare

Start by finding out who controls your domain's DNS and whether it's already on Cloudflare. If it is, the setup takes a Worker and two routes. If it isn't, plan the nameserver move first and copy every existing record over. Set both routes to fail open so a quota problem never takes pages offline. Snoika supplies the Worker values and reviews your Cloudflare reverse proxy before anything goes live. It then auto-publishes approved pages across your domain. To plan the connection for your site, book a call.

See every platform Snoika connects to in all integrations.

FAQ

A cloudflare reverse proxy keeps published pages on your own domain, so earned links point to your site and internal links stay on one host. After launch, check that new pages use canonical tags pointing to your domain and appear in your sitemap.

No, this connection also supports other CDNs and load balancers. If your domain already uses one, check whether that setup is supported before moving DNS. The self-service guide covers Cloudflare, while other supported options have different setup requirements.

Create a Worker and paste in the supplied script with your site's configuration values. It sends managed-page requests to the publishing platform and passes other requests to your existing site. Once deployed, test existing pages to confirm they still load as before.

Add one route for your bare domain and another for the www host, each ending in a wildcard and pointing to the same Worker. Both matching DNS records must have the orange-cloud proxy enabled. Set each route to fail open.

On the free plan, requests beyond 100,000 per day return Error 1027 unless the routes are set to fail open. With fail open enabled, requests behave as though no Worker were configured and reach your existing site. The daily count resets at midnight UTC.

See how AI talks about your brand