Skip to main content

Command Palette

Search for a command to run...

๐Ÿ” Connect SSL with Cloudflare and Use It on Hashnode

Updated
โ€ข2 min read
๐Ÿ” Connect SSL with Cloudflare and Use It on Hashnode
P

I'm a backend-focused software engineer with 3+ years of experience building scalable, secure, and high-performance systems. I specialize in developing production-grade APIs, architecting distributed systems, and designing cloud-native solutions using Node.js, NestJS, and TypeScript.

Want your Hashnode blog to run on HTTPS with your custom domain? Here's how to set it up using Cloudflare for free SSL.

โœ… Step 1: Add Domain to Cloudflare

  1. Go to Cloudflare.com and create an account or log in.

  2. Click โ€œAdd a siteโ€ and enter your domain (e.g., yourdomain.com).

  3. Cloudflare will fetch your DNS records.

  4. Choose the Free plan and continue.

โœ… Step 2: Update Your Domain's Nameservers

  1. Cloudflare will give you two nameservers.

  2. Go to your domain registrar (e.g., GoDaddy, Namecheap).

  3. Replace your existing nameservers with the Cloudflare ones.

โœ… Step 3: Configure DNS for Hashnode

  1. Go to the Cloudflare DNS tab.

  2. Add a CNAME record:

  3. Wait for the DNS to propagate (~5โ€“10 minutes).

โœ… Step 4: Connect Domain in Hashnode

  1. Go to your Hashnode dashboard โ†’ Blog Dashboard โ†’ Domain.

  2. Enter your domain or subdomain (e.g., blog.yourdomain.com).

  3. Hashnode will verify it automatically.

  4. Once connected, it will handle SSL automatically.

๐Ÿ”’ Optional: Enable Full SSL Mode in Cloudflare

  1. Go to Cloudflare โ†’ SSL/TLS tab.

  2. Choose โ€œFullโ€ or โ€œFull (Strict)โ€ mode.

And you're done! ๐ŸŽ‰
Your custom domain is now secured with free SSL via Cloudflare and points to your Hashnode blog.