RocketLauncher AI

Domains & Setup

Redirect GoHighLevel Domains With Cloudflare Page Rules

By Marnix Geerkens. Published 2022-01-25. Updated 2026-06-02.

Cloudflare gives you fine-grained control over domain redirects that a basic registrar cannot match. To redirect www to non-www for a GoHighLevel site, you move your DNS to Cloudflare, add the A record for the root domain with the Cloudflare proxy disabled so GoHighLevel can verify it, link the domain in GoHighLevel, then add a Cloudflare Page Rule that permanently redirects all www traffic to the root. The free Cloudflare plan covers everything you need.

Watch it, then build it

Get the full platform free for 30 days

That walkthrough runs on GoHighLevel. Start it free through RocketLauncher and you get 30 days instead of the usual 14, the whole platform unlocked, plus our setup help and a community of thousands of builders in 47+ countries.

30 days, not 14Full platform, nothing held backFree community and setup help

We earn a referral commission if you keep GoHighLevel after the trial. It never changes your price.

Summary. This tutorial explains how to use Cloudflare as a DNS provider and use its Page Rules feature to forward the www version of a domain to the non-www root for a GoHighLevel website or funnel. You add the domain to Cloudflare, update your registrar name servers, create an A record for the root, verify and link the domain in GoHighLevel, and then configure a Page Rule for the www-to-root redirect. The approach works on Cloudflare's free tier and keeps all domains for multiple clients manageable in one place.

What you will learn

  • Add a domain to Cloudflare and update name servers at your registrar
  • Create an A record in Cloudflare with the proxy disabled for GoHighLevel compatibility
  • Verify and link the domain inside GoHighLevel
  • Use a Cloudflare Page Rule to redirect www to non-www with a 301
  • Understand why the Cloudflare orange-cloud proxy must be off for GoHighLevel's A record check

Steps

  1. Add your domain to Cloudflare

    Log in to cloudflare.com and click Add a Site. Type your domain and select the free plan. Cloudflare will scan for existing DNS records and import them. Review the list, remove any outdated records, and continue. Cloudflare will display two name server hostnames assigned to your account.

  2. Update name servers at your registrar

    Log in to your domain registrar (Google Domains, GoDaddy, Namecheap, or wherever you bought the domain). Find the name server settings and replace the existing name servers with the two Cloudflare name servers. Save. Propagation typically takes five to fifteen minutes.

  3. Add the A record for the root domain

    In Cloudflare DNS, add an A record. Set the name to @ and the content to the IP address GoHighLevel shows in Settings under Domains. Important: click the orange cloud icon next to the record to turn it grey (proxy disabled). GoHighLevel needs to see the raw IP to verify the record. Save.

  4. Verify and link the domain in GoHighLevel

    In GoHighLevel Settings under Domains, add your root domain and click Add. Once it verifies, select the funnel or website you want to link and click Link. Click the pencil icon and set the home page, then save.

  5. Add a CNAME for the www subdomain in Cloudflare

    In Cloudflare DNS, add a CNAME record with name www pointing to the GoHighLevel CNAME target (visible when you start adding a subdomain in GoHighLevel Settings). Keep the proxy disabled for now. This record is needed so Cloudflare has something to redirect from.

  6. Create a Cloudflare Page Rule to redirect www to root

    In Cloudflare, go to Rules and then Page Rules. Click Create Page Rule. In the URL pattern field, enter www.yourdomain.com/*. Set the action to Forwarding URL, choose 301 Permanent Redirect, and in the destination enter https://yourdomain.com/$1 (the $1 preserves the path). Save and deploy the rule.

  7. Test both addresses

    Open yourdomain.com in a browser to confirm the GoHighLevel site loads. Then open www.yourdomain.com and confirm it redirects to the root. If you see an SSL error on the first load, wait thirty seconds and refresh.

Tips

  • Disabling the Cloudflare proxy (grey cloud) on the A record is required during GoHighLevel verification. Once verified, you can re-enable it if you want Cloudflare CDN and DDoS protection.
  • Cloudflare is useful when managing domains for multiple clients because all DNS is in one dashboard rather than spread across different registrars.
  • Page Rules on the free Cloudflare plan are limited to three. If you use all three, consider Cloudflare's Redirect Rules under the Rules tab, which are more generous on the free tier.

Related tutorials

How To Add a Domain
How To Add a Domain3:24 · Domains & Setup
Forward WWW to non-WWW Domains With Google Domains
Forward WWW to non-WWW Domains With Google Domains2:44 · Domains & Setup
How To Buy A Dedicated IP Address
How To Buy A Dedicated IP Address5:22 · Domains & Setup
How to Seamlessly Purchase and Set Up Domains in GoHighLevel
How to Seamlessly Purchase and Set Up Domains in GoHighLevel4:07 · Domains & Setup
Setting Up Root Domains In HighLevel
Setting Up Root Domains In HighLevel5:36 · Domains & Setup
How To Set Up Sub-Domains In HighLevel
How To Set Up Sub-Domains In HighLevel2:12 · Domains & Setup

Watch it, then build it

Get the full platform free for 30 days

30 days, not 14Full platform, nothing held backFree community and setup help

Frequently asked questions

Why must I turn off the Cloudflare proxy when adding the A record?

GoHighLevel checks the A record directly. The proxy hides the IP, blocking verification.

Can I use Cloudflare on the free plan for this?

Yes. DNS management and Page Rules are both available on Cloudflare's free tier.

What does the $1 do in the Page Rule destination?

It captures the URL path so www.domain.com/page redirects to domain.com/page.

Do I need to add www.yourdomain.com as a domain in GoHighLevel?

No. The Page Rule handles the redirect before the request reaches GoHighLevel.

Can I manage all my clients' domains in one Cloudflare account?

Yes. Each domain is a separate site in Cloudflare but all visible from one login.

Back to all Domains & Setup tutorials