Blogger gives you free hosting, but a blogspot.com address does not look like a real brand. Putting your own domain in front of it, with Cloudflare handling DNS, gets you a proper address, free HTTPS and a global CDN without paying for anything except the domain. This site, bikrambhujel.com.np, runs exactly this way.
Below are the exact records and settings I use, plus the two Cloudflare settings that quietly break Blogger sites and that many older guides still recommend.
Quick answer
Add your domain to a free Cloudflare account and switch your nameservers. In Blogger, go to Settings > Publishing > Custom domain and enter www.yourdomain.com. In Cloudflare DNS, add the two CNAME records Blogger shows you and four A records for the root domain, all set to DNS only (grey cloud). Once Blogger's HTTPS works, turn the proxy on for www and the root, and set SSL/TLS to Full. Never use Flexible, and never cache Blogger's HTML.
What you need before you start
- A Blogger blog you can sign in to.
- A domain name. Any registrar works, such as Namecheap, Cloudflare Registrar or a local Nepali registrar. If you live in Nepal, you can register a free .com.np domain that matches your name.
- A free Cloudflare account.
Step 1: Add your domain to Cloudflare
- Sign in to Cloudflare and click Add a domain (some accounts show Onboard a domain).
- Enter your root domain, for example
bikrambhujel.com.np, withoutwww. - Pick the Free plan. Cloudflare scans your existing DNS records; delete any old ones that point at a previous host.
- Cloudflare gives you two nameservers with names like
ana.ns.cloudflare.com. Copy them.
Step 2: Point your domain's nameservers to Cloudflare
Sign in where you bought the domain and replace its nameservers with the two from Cloudflare. For a .com.np domain, you do this from your account on register.com.np. The switch usually takes a few minutes to a few hours, and Cloudflare emails you when the domain becomes active.
Step 3: Add the custom domain in Blogger
- In Blogger, open Settings and scroll to Publishing.
- Click Custom domain and enter the www version, for example
www.bikrambhujel.com.np. Blogger only accepts a subdomain here, which is whywwwis used. - Click Save. The first time, Blogger shows an error with two CNAME records. That is expected: it needs those records to confirm you own the domain. Leave this tab open.
Step 4: Add the DNS records in Cloudflare
In Cloudflare, open DNS > Records and add these. Set every one to DNS only (grey cloud) for now. If they are proxied before Blogger has verified the domain and issued its certificate, verification and HTTPS can fail.
| Type | Name | Target or IP | Proxy |
|---|---|---|---|
| CNAME | www | ghs.google.com | DNS only |
| CNAME | The unique code Blogger shows you | The gv-... value Blogger shows you | DNS only, always |
| A | @ | 216.239.32.21 | DNS only |
| A | @ | 216.239.34.21 | DNS only |
| A | @ | 216.239.36.21 | DNS only |
| A | @ | 216.239.38.21 | DNS only |
The A records are Google's addresses for the bare domain, so bikrambhujel.com.np without www also reaches your blog. Go back to Blogger and click Save again. If it still fails, wait 15 minutes and retry; new records can take a little while to show up.
Step 5: Turn on HTTPS and redirects
- In Blogger Settings > Publishing, turn on Redirect domain. Visitors who type the bare domain are now sent to
www. - Under HTTPS, turn on HTTPS availability. Google needs some time to issue a certificate for your domain, sometimes up to a day. When it is ready, turn on HTTPS redirect.
- In Cloudflare, open SSL/TLS > Overview and set the mode to Full. Do not use Flexible: Blogger already forces HTTPS, so Flexible sends the browser round in circles with a "too many redirects" error.
- Now switch the
wwwCNAME and the four@A records to Proxied (orange cloud). Leave the verification CNAME on DNS only. - Under SSL/TLS > Edge Certificates, turn on Always Use HTTPS and Automatic HTTPS Rewrites.
Step 6: Speed settings that are safe for Blogger
This is where most older guides go wrong.
- Do not cache your HTML. A "Cache Everything" rule with a long edge TTL makes Cloudflare keep old copies of your pages, so new posts, edits and comments can take days to appear. Blogger already serves its pages quickly and caches images on Google's own servers, so let Cloudflare cache static files only, which is the default. Cloudflare has also retired Page Rules for new rules, so if you see an old tutorial telling you to create one, skip it.
- Brotli and minification need nothing from you. Cloudflare compresses with Brotli automatically now, and the old Auto Minify switches have been removed.
- Be careful with Rocket Loader. It delays your JavaScript to speed up the first paint, but it can make menus, dark mode or layout scripts flash or break. If you keep it on, add
data-cfasync="false"to any script that must run straight away. That attribute is how I stopped this site's menu from jumping on page load.
Step 7: Test the setup
- Open
http://yourdomain.comwithoutwww. It should end up athttps://www.yourdomain.comwith a padlock. - Open a post, leave a test comment, and check that it shows up after a refresh.
- Run the homepage through PageSpeed Insights.
- Add the new domain to Google Search Console and Bing Webmaster Tools, and submit
/sitemap.xml.
Common problems and fixes
| Problem | Fix |
|---|---|
| Blogger says it cannot verify your authority for the domain | Check the second CNAME is copied exactly and set to DNS only, then wait 15 minutes. |
| Too many redirects | Change SSL/TLS mode from Flexible to Full. |
| HTTPS availability is greyed out or stuck | Set the www and @ records to DNS only until Blogger issues the certificate, then turn the proxy back on. |
| New posts or comments do not appear | Remove any Cache Everything rule and purge the Cloudflare cache. |
| Menu or layout flickers on load | Turn off Rocket Loader, or add data-cfasync="false" to the scripts that must run first. |
Why use Cloudflare with Blogger?
- Fast DNS for free: Cloudflare's DNS is one of the quickest, and changes go live in minutes.
- Protection: DDoS protection and bot filtering sit in front of your blog.
- Control: redirects, security headers and analytics without touching your theme.
- Search: HTTPS, a clean www redirect and quick DNS all help Google crawl the site properly.
Frequently asked questions
Can I use Cloudflare with Blogger for free?
Yes. The Cloudflare Free plan covers DNS, the proxy, free SSL and basic DDoS protection, which is everything a Blogger site needs. You only pay for the domain, or nothing if you use a free personal .com.np domain in Nepal.
Should the Blogger CNAME records be proxied in Cloudflare?
Keep every record on DNS only until Blogger has verified your domain and HTTPS works. After that you can proxy the www CNAME and the four A records. The verification CNAME, the one with the gv- value, should always stay DNS only.
Which SSL mode should I use for Blogger in Cloudflare?
Use Full. Blogger serves your site over HTTPS with its own certificate, so Full encrypts the whole path. Flexible causes a redirect loop because Blogger forces HTTPS while Cloudflare talks to it over HTTP.
Should I use Cache Everything for a Blogger site?
No. Caching Blogger HTML at the edge means new posts, edits and comments can stay hidden behind old copies. Let Cloudflare cache static files only, which is the default.
Why does Blogger show an error the first time I add a custom domain?
Blogger needs proof that you own the domain, so on the first save it shows two CNAME records to add. Add them in Cloudflare DNS, wait a few minutes, and save again.