So, you need to forward a domain using Cloudflare? You're in the right place, and trust me, it's easier than you think. It's a pretty straightforward process: you'll use a feature like Page Rules or Workers to send traffic from one domain (say, an old site or a parked domain) over to your main website. The whole setup involves pointing your domain's nameservers to Cloudflare and then creating a simple rule to handle the redirect. This ensures every visitor—and every search engine crawler—ends up exactly where you want them.
Why Forwarding Domains With Cloudflare Is a Strategic Move

Ever snagged a killer domain and thought, "Now what?" The smartest answer is redirection, and Cloudflare is hands-down the best tool for the job. We're not talking about a simple, clunky forward that your registrar might offer. We're talking about using a massive global network to make your domains work for you. It’s about turning that digital real estate into a genuine asset.
Think of it like this: a domain is a plot of digital land. You wouldn't let a valuable corner lot sit empty and overgrown, would you? Of course not. You'd either build on it or lease it out. Forwarding a domain is the digital version of that, and using Cloudflare is like bringing in the world's best architect, security team, and logistics manager all rolled into one.
There are a few ways to get this done in Cloudflare, each with its own pros and cons. Let's take a quick look before diving into the step-by-step.
Cloudflare Forwarding Methods at a Glance
For those who want a quick summary, this table breaks down the main ways to set up domain forwarding in Cloudflare. It gives you an idea of which method might be the best fit for your situation.
| Method | Best For | Complexity | Cost |
|---|---|---|---|
| Page Rules | Simple A-to-B redirects, wildcard forwarding, and beginners. | Low | Free (with limits) |
| Bulk Redirects | Managing hundreds or thousands of redirects from a single list. | Medium | Paid Feature |
| Workers | Complex logic, dynamic redirects, and advanced path forwarding. | High | Free Tier / Paid |
Page Rules are the go-to for most people, but as your needs get more complex, Workers offer incredible flexibility. Bulk Redirects are a lifesaver for large-scale migrations. We'll cover the practical steps for the most common methods shortly.
Unbeatable Speed and Performance
One of the biggest wins with Cloudflare forwarding is speed. Traditional redirects can be painfully slow, adding precious milliseconds—or even seconds—of load time as the request bounces from one server to another.
Cloudflare all but eliminates this lag. Because it handles the redirect at the "edge"—in a data center physically close to your user—the change in direction is almost instantaneous. Your visitors, and just as importantly, search engine crawlers, aren't left hanging.
This edge-based architecture is a total game-changer. It's why Cloudflare's DNS and forwarding services have exploded in popularity, now powering a huge chunk of the internet. Their ability to process redirects without ever hitting a slow, distant origin server makes everything incredibly fast.
This speed is mission-critical. It doesn't matter if you're consolidating different brand variations, pointing an old domain to a new one, or trying to channel authority from an aged domain you just acquired. For example, maybe you've picked up some great Expiring domains with solid backlink profiles. You'll want to 301 redirect them to your main site to pass that link equity, and a fast, clean redirect tells search engines to recognize that connection without delay.
Fortified Security and Trust
The other massive advantage is the built-in security. When you proxy your domain through Cloudflare (which is necessary for these forwarding methods), you get a free layer of enterprise-grade protection. This includes things like DDoS mitigation and a Web Application Firewall (WAF) that shields your domain from malicious traffic—even if it's just a forwarding address.
A key part of this is the easy access to free SSL Certificates. You can ensure every single forwarded request is served over a secure HTTPS connection. In today's web, that's not a "nice-to-have"; it's a non-negotiable trust signal for both users and search engines like Google. If this is part of a larger SEO play, you might find our guide on using domains for SEO helpful for putting the pieces together.
Ultimately, using Cloudflare is about taking a domain with potential and turning it into a high-performance tool. Whether it's a freshly dropped name you found or a premium asset you've been tracking, Cloudflare helps you make every part of your digital portfolio perform at its peak.
When it comes to setting up a Cloudflare forward domain, you're really standing at a fork in the road. In one direction, you have Page Rules. In the other, you have Cloudflare Workers. Your choice here will pretty much define how simple or how powerful your redirect strategy can be.
Think of Page Rules as the trusty, reliable sedan of the forwarding world. It’s straightforward, incredibly easy to use, and perfect for getting from Point A to Point B with zero fuss. If your goal is to just redirect one domain to another, this is your go-to. It's the classic "get it done now" option.
Then you have Cloudflare Workers. These are more like a custom-built, high-performance race car. They give you an insane amount of flexibility and power, letting you build out complex redirection logic that can handle almost any scenario you can dream up. This is the power user's choice for when a simple forward just won't cut it.
When to Use Page Rules: The Simple and Direct Route
Page Rules are brilliant because of their simplicity. Let's say you just won the bidding on a fantastic expiring domain from a platform like NameSnag. It’s got a great backlink profile and some authority you want to capture. Your plan? Point all that sweet SEO juice to your main website. This is a perfect job for Page Rules.
In a matter of minutes, you can set up a rule that says, "any traffic hitting my-awesome-new-domain.com should be permanently redirected to my-main-money-site.com." It's a simple, set-and-forget solution that handles the vast majority of forwarding needs for domain investors and SEOs.
Page Rules are the ideal tool for scenarios like these:
- Simple A-to-B Redirects: Forwarding an entire domain to another.
- Root to WWW Forwarding: Pushing traffic from
example.comtowww.example.com(or the other way around). - Path-Preserving Redirects: Sending
old-domain.com/abouttonew-domain.com/aboutwith a simple wildcard. - Basic HTTPS Upgrades: Forcing all traffic over to a secure connection.
The free Cloudflare plan generously gives you three Page Rules, which is often more than enough for small projects or for consolidating a few parked domains. You can have a fully functional, SEO-friendly redirect live faster than you can brew a cup of coffee.
When to Unleash Cloudflare Workers: The Power User’s Playbook
But what happens when you need more? What if your strategy is more intricate than just pointing one domain at another? This is where Cloudflare Workers take the stage, and the possibilities become almost limitless.
Imagine you snagged a domain that gets traffic from all over the world. With a Worker, you could write a small piece of JavaScript that does this:
- Redirects visitors from the United Kingdom to
your-site.co.uk. - Sends visitors from Germany to
your-site.de. - Points all other traffic to the main
.comsite.
Page Rules simply can’t do that. Workers run as tiny serverless applications right at the edge, inspecting each request and making smart decisions based on the code you write.
A Cloudflare Worker isn't just a redirect; it's a decision engine. You can redirect based on a user's country, their device type (mobile vs. desktop), the presence of a specific cookie, or even run A/B tests by splitting traffic between two different destination URLs.
This advanced capability is a huge reason why Cloudflare is the dominant force in its market. In fact, a game-changing stat for domain forwarders is that Cloudflare commands an 82.3% market share among known reverse proxy services, covering 21.6% of all websites. This dominance is fueled by its ability to manage complex forwards—like chaining old expired domains to new affiliate sites—at the edge, which minimizes latency and maximizes uptime. You can explore more about this incredible market presence and its technical underpinnings to see why it's the preferred choice for serious SEOs and investors.
Making the Final Call: Performance, Flexibility, and Cost
So, which one is right for you? It really just boils down to your specific needs.
If you just need to forward a recently Available domain you found to your main blog, stick with Page Rules. It’s fast, free, and does the job perfectly.
However, if you're building a sophisticated affiliate marketing funnel, managing international traffic, or need to A/B test landing pages, Cloudflare Workers are your best bet. They definitely have a steeper learning curve, but their flexibility is unmatched. The free tier for Workers is also quite generous, typically covering most small to medium-sized projects without costing a dime.
Ultimately, both are incredibly powerful tools for managing your domain portfolio. By understanding the strengths of each, you can choose the right one to make sure your Cloudflare forward domain setup is perfectly aligned with your strategic goals.
Alright, let's roll up our sleeves and get this done. We're going to walk through using Cloudflare's Page Rules to forward a domain. This is the most common and direct way to get traffic from an old domain over to your new one, and I'll show you exactly how I do it.
The Secret First Step: A Dummy DNS Record
This is the part that trips a lot of people up. Before you can even touch Page Rules, you have to give Cloudflare’s proxy something to sink its teeth into. Page Rules only kick in for traffic that passes through Cloudflare—that’s what the little orange cloud in your DNS settings means.
To get that orange cloud lit up, you need a "dummy" DNS record for the domain you're forwarding. This record isn't actually pointing to a live server; its only job is to enable the proxy so your Page Rule can fire.
Create an A record for your root domain (like brandable-expired-domain.com). Point it to a reserved, non-routable IP address. I always use 192.0.2.1, which is specifically designated for documentation and won't go anywhere. You could also use an AAAA record pointing to 100::.
The critical part is to make sure the proxy status is enabled (orange cloud). This is the secret sauce. Without it, your Page Rule will never trigger.
Creating Your Forwarding URL Page Rule
With the dummy record in place and the proxy active, it's time to head over to the Page Rules section in your Cloudflare dashboard. This is where you tell Cloudflare what to do with all that incoming traffic.
You'll be creating a new Page Rule. The first field is "If the URL matches," and this is where you define the traffic you want to redirect. To forward an entire domain—every single page and path—you need to catch everything.
The pattern I always use is:
your-old-domain.com/*
That asterisk (*) is a wildcard. It tells Cloudflare to match not just the homepage but any other URL on that domain. This is absolutely essential for preserving your site's structure, which we’ll get into next.
Now, for the setting, you'll select "Forwarding URL." This brings up the two most important choices in this entire setup: the status code and the destination URL.
The process is pretty straightforward, especially when you compare it to the more code-heavy alternatives.

As you can see, Page Rules are the quick, UI-driven path for most redirects. Workers offer more power but come with a steeper learning curve.
The Big Decision: 301 vs. 302 Redirect
This isn’t just a technical setting; it's a make-or-break SEO decision.
301 (Permanent Redirect): This tells search engines, "Hey, this content has moved for good. Transfer all the link equity, SEO value, and authority from the old URL to this new one." You use a 301 when you've permanently moved a site or, more to the point for investors, when you acquire a powerful expiring domain and want all its authority to boost your main site. For SEO, this is almost always the right answer.
302 (Temporary Redirect): This is more like, "Hold on, we're just sending traffic here for a little while. Keep all the SEO value with the original URL." It’s handy for things like A/B testing or sending users to a temporary maintenance page, but it's the wrong tool for consolidating domains.
For domain investors and SEOs forwarding an old or acquired domain to a new one, always choose 301. Choosing 302 by mistake is a common and costly error that can prevent you from reaping the SEO benefits of your newly acquired asset.
Finally, the destination URL. This is where that wildcard we used earlier comes into play. To preserve the URL path, your destination needs to use a variable. It should look like this:
https://your-new-site.com/$1
The $1 is a placeholder that corresponds to the first wildcard (*) in your matching pattern. This simple piece of syntax is incredibly powerful. It ensures a request for your-old-domain.com/contact gets correctly forwarded to your-new-site.com/contact, not just dumped on the homepage. This "path-preserving" forward is vital for user experience and for passing link equity to the correct new pages.
Once you hit "Save and Deploy," your redirect goes live across Cloudflare's massive global network in seconds.
Of course, none of this works if your domain's nameservers aren't pointed to Cloudflare in the first place. If you're managing domains across various registrars and need a refresher, our guide on how to change nameservers on a platform like GoDaddy can get you on the right track.
Unlocking Advanced Redirects with Cloudflare Workers

Ready to graduate to the big leagues of domain forwarding? While Page Rules are perfect for simple A-to-B redirects, Cloudflare Workers open up a universe of possibilities that Page Rules can't even touch. They let you build an intelligent, dynamic redirection machine.
Think of it this way: Page Rules are a fixed signpost pointing in one direction. Workers, on the other hand, are like a savvy traffic controller who can look at who's coming, where they're from, and what they're driving before deciding which road to send them down. It’s a massive step up in control.
Many people hear "Workers" and think it requires a computer science degree, but it's more approachable than you'd imagine. We'll start with a super simple, copy-and-paste script to show you just how easy a basic Cloudflare forward domain setup can be with this powerful tool.
Your First Worker: A Simple 301 Redirect
Let's demystify Workers with a practical example. Say you just grabbed a fantastic domain that was available today and you want to point it to your main site. Instead of a Page Rule, you can use a Worker.
Here’s a basic script that performs a permanent (301) redirect. You can copy this directly into a new Worker in your Cloudflare dashboard.
export default {
async fetch(request) {
const destinationURL = "https://your-main-site.com";
const statusCode = 301;
return Response.redirect(destinationURL, statusCode);
}
};
That’s it. This tiny piece of code tells Cloudflare to take every single request that hits your domain and redirect it with a 301 status code to your-main-site.com. After creating the Worker, you just need to add a route to it (e.g., my-new-domain.com/*), and you’re done. It's clean, fast, and surprisingly simple.
Leveling Up with Dynamic Redirects
Now for the fun part. The real power of Workers is their ability to make decisions based on the incoming request. You can inspect headers, cookies, device type, and pretty much anything else. This is where you can implement some seriously clever strategies.
Here are a few real-world scenarios where Workers shine:
- Device-Based Redirects: Want to send mobile users to a lightweight, fast-loading version of your site? A Worker can check the
User-Agentheader to detect a mobile device and redirect them accordingly. - A/B Testing: You can split traffic between two different landing pages to see which one converts better. A Worker can randomly send 50% of visitors to Page A and the other 50% to Page B.
- Geotargeting: Have you purchased an Expiring domain with a lot of international traffic? A Worker can redirect users from Spain to your
.essite, users from France to your.frsite, and everyone else to your.comsite.
This level of granular control is just not possible with Page Rules alone. It transforms a simple forward into a strategic part of your marketing and user experience efforts.
The core takeaway is this: Cloudflare Workers allow you to move from static, one-size-fits-all redirects to dynamic, context-aware forwarding. You're no longer just pointing a domain; you're actively managing the user's journey.
Page Rules vs. Cloudflare Workers Feature Showdown
To make the choice even clearer, let's put these two tools head-to-head. Sometimes you just need a hammer, but other times you need a whole workshop. This table highlights what you can and can't do with each, helping you decide which is right for your specific Cloudflare forward domain needs.
| Feature | Page Rules | Cloudflare Workers |
|---|---|---|
| Basic Forwarding | Yes (3 free rules) | Yes (Generous free tier) |
| Path Preservation | Yes (Using $1 wildcard) |
Yes (Fully customizable) |
| Redirect by Country | No | Yes |
| Redirect by Device | No | Yes |
| A/B Testing | No | Yes |
| Modify HTTP Headers | No | Yes |
| Complexity to Set Up | Low | Medium-High |
As you can see, for any scenario that needs "if-then" logic, Workers are the clear winner. They do require a bit more effort upfront—you're writing a tiny bit of code, after all. But the payoff in flexibility is enormous, giving you the power to craft a truly sophisticated domain forwarding strategy.
SEO Best Practices for Domain Forwarding
Getting a redirect working is one thing. The real art is setting up a redirect that search engines will actually trust and value. If you want to maximize the SEO benefit from your forwarded domains, you need to go beyond just picking a 301 and calling it a day. It's about building a clean, secure, and authoritative pathway for both your visitors and the search crawlers.
First things first: security. This is non-negotiable. Every single redirect you create absolutely must be served over HTTPS. A redirect from an insecure http:// to a secure https:// URL is a start, but the gold standard is https:// to https://. It signals trust right from the very first interaction.
Thankfully, Cloudflare makes this dead simple. Just head to your SSL/TLS settings and set your encryption mode to "Full (Strict)". This guarantees an end-to-end secure connection, and both Google and your visitors will thank you for it.
Avoiding SEO Pitfalls Like Redirect Chains
One of the sneakiest ways to torpedo your SEO efforts is by creating redirect chains or loops. A redirect chain happens when domain-a.com points to domain-b.com, which then points to your actual target, domain-c.com. Every hop in that chain bleeds a little link equity and, just as important, slows down the experience for the user.
Loops are even more destructive. This is when domain-a.com redirects to domain-b.com, and domain-b.com mistakenly redirects right back, trapping users in an endless cycle that browsers will eventually just give up on.
The best practice is simple: Always redirect directly to the final destination. Make it a habit to audit your redirects. You want one single, clean hop from the source domain to the final URL. This preserves the maximum SEO power and keeps things lightning-fast.
Choosing Your Domains Wisely
The domain you decide to forward is just as critical as how you set up the forwarding. Think of it as getting a referral. You want that endorsement to come from a reputable source, not a spammy, untrustworthy one. Forwarding a domain with a nasty backlink profile can do more harm than good, potentially passing negative signals right to your main site.
This is where finding high-quality domains becomes a core part of your strategy. You need to pick domains with clean histories and genuine authority. A tool like NameSnag lets you cut through the junk and search specifically for Available domains that have just dropped but still carry valuable metrics, like a high Trust Flow and a solid number of referring domains. These are the SEO gold nuggets you're looking for. Before you spend a dime, get familiar with what toxic backlinks are and how to spot them.
Cloudflare's own data backs up the importance of picking winners. While its forwarding is battle-tested, handling trillions of requests, its DNS insights are just as valuable. For example, Cloudflare's Radar TLD page reveals that .com domains account for over 60% of all queries to its public DNS resolver. This shows the sheer dominance and perceived authority of certain TLDs—something to weigh when acquiring domains to forward. You can discover more TLD insights from Cloudflare's analysis to guide your choices.
For a truly comprehensive SEO strategy, it's also worth understanding how Cloudflare interacts with AI crawlers to ensure your redirects get indexed properly.
By pairing smart domain selection with a clean, secure, and direct forwarding setup in Cloudflare, you turn a simple redirect into a powerful SEO asset.
Your Questions on Cloudflare Redirects Answered
You've got questions, and after setting up more redirects than I can count, I've got answers. Let's tackle some of the most common things I hear from fellow domain investors and SEOs about forwarding domains with Cloudflare.
How Long Does a Cloudflare Forward Take to Start Working?
It's almost instant—and honestly, it's one of my favorite things about Cloudflare. As soon as you hit "Deploy" on your Page Rule or save a new Worker, the change ripples across Cloudflare's massive global network in less than 30 seconds.
This is a world away from old-school DNS changes, which can sometimes take hours to be seen everywhere. Because these redirects happen at the network edge, they go live incredibly fast. The only lag you might ever see is old DNS info cached on your local machine, but the redirect itself will be active on Cloudflare's side immediately.
Can I Forward a Domain to a Specific Page Instead of Just the Homepage?
Absolutely, and you definitely should. This is a crucial move for good SEO. You can get very granular with it. By using a wildcard in your Page Rule (like old-domain.com/*) and a variable in the destination URL (https://new-domain.com/$1), you create what's called a "path-preserving" redirect.
This means a visit to old-domain.com/about automatically lands on new-domain.com/about, and old-domain.com/contact goes right to new-domain.com/contact. This is vital for preserving the link equity that flows to your site's inner pages. If you want to get even more surgical, Cloudflare Workers lets you build out even more complex, granular logic.
This path-preserving feature is a must-use when forwarding an expiring domain you've acquired. If it has backlinks pointing to specific inner pages, you want to make sure that authority is passed to the corresponding new pages, not just dumped on your homepage.
Does Forwarding a Domain with Cloudflare Cost Money?
For the vast majority of users, setting up a Cloudflare forward domain is completely free. The free plan generously includes 3 Page Rules, which is typically more than enough to handle forwarding for a few different domains.
The "Forwarding URL" action within Page Rules is one of the free settings you can use. You'd only need to think about a paid plan if you exhaust your three rules and need more. And if you decide to dabble with Cloudflare Workers, the free tier is massive, with 100,000 requests per day. That covers almost any forwarding scenario you can imagine before you'd ever see a bill. It's an incredible value.
What Is the Difference Between Masking and Forwarding a Domain?
This is a super important distinction, and getting it wrong can be an SEO disaster. Here's the breakdown:
Forwarding (Redirecting): This is the correct, professional method. It sends both the user and search engines to the new URL, and the address in the browser bar physically changes to the new domain. It's a clean, clear handoff.
Masking (Framing): Avoid this at all costs. This old-school technique uses an HTML frameset to display the content of the new site while keeping the old domain name in the address bar. It's a recipe for massive duplicate content issues and completely confuses search engines.
Thankfully, Cloudflare's tools—both Page Rules and Workers—perform true redirects. Whether you're pointing a newly available domain to your main site or consolidating old brand assets, a true 301 or 302 redirect is the only way to go.
Ready to find your next high-value domain to forward? At NameSnag, we analyze over 170,000 domains daily, cutting through the noise to find gems with real SEO potential. Find your next winning domain with NameSnag today.
Find Your Perfect Domain
Get access to thousands of high-value expired domains with our AI-powered search.
Start Free Trial