DEV Community

Hiep Bao Le
Hiep Bao Le

Posted on

Freenom Domain Get a free domain with Freenom and Cloudflare

Originally posted on my blog.

Freenom is a domain registrar that provides unlimited free domains that last for one year. The only limit is that you can only get domains ending in .tk, .ml, .ga, .cf, or .gq.

In this post, I’ll show you how to register a domain at Freenom step-by-step. Then I’ll show you how to replace Freenom’s default nameservers (which are pretty bad) with Cloudflare’s to have better control of your domains.

Register domain at Freenom

Step 1: Go to https://www.freenom.com and get yourself an account.

Step 2: Go to the homepage. Type the domain you would like to register in the Find a new FREE domain field. Then click Check Availability.

alt text for accessibility

Step 3: If the domain name is available click Get it now! and then click Checkout.

alt text for accessibility

Step 4: Set the period to 12 months. Then click Continue.

alt text for accessibility

Step 5: Check I have read and agree to the Terms & Conditions. Then click Complete Order.

alt text for accessibility

Step 6: You’ve successfully registered your free domains. But we’re not done yet. Let’s move to the Cloudflare part.

Add your domains to Cloudflare

Step 1: Go to https://www.cloudflare.com and get yourself an account.

Step 2: Click Add a site in Account Dashboard.

alt text for accessibility

Step 3: Type in your domain and click Add site.

Step 4: Select plan Free and click Confirm plan.

Step 5: Cloudflare will scan for existing DNS records. Wait until it finishes, and click Continue.

Step 6: Cloudflare will give you two nameservers that you need to set in Freenom.

alt text for accessibility

Step 7: Go back to Freenom. Click Services > My Domains. You should see all domains you’ve registered. Click Manage Domain on the domain that you’re configuring.

alt text for accessibility

Step 8: Click Management Tools > Nameservers > Use custom nameservers (enter below). Now enter the nameservers provided by Cloudflare, and click Change Nameservers.

alt text for accessibility

Step 9: Go back to Cloudflare, click Done, check nameservers. It will take a while, so please be patient.

Step 10: Enjoy your free domain!

Final Thoughts

These domains are not suitable for professional usage, but if you can’t afford to buy a domain or just want to find one to test your project, Freenom + Cloudflare is a perfect choice. Personally, I use it for a lot of my projects.

I hope you’ll find this post helpful!

Top comments (15)

Collapse
 
maydhyam profile image
Maydhya Maraj

After all this is done, where can I host this website?

Collapse
 
simplexshotz profile image
SimplexShotz

I found that using GitHub Pages works quite well :D

Collapse
 
devxan profile image
Xan Surnamehere • Edited

I would recommend these for frontend apps: Cloudflare Pages, Vercel, Netlify, or GitHub Pages.

Collapse
 
goyalaman profile image
goyal-aman

thanks for the great article. But who this is not suitable for professional usage? I am looking forward to hosting my portfolio in one of the domain I got using freenom. Could you explain on that point? Again thanks for this post.

Collapse
 
jasperkollinz profile image
jasper-kollinz • Edited

How to get an account there? The only way i could use is sign in via google ;/
When I want to checkout domains i get error "The address in your profile is not valid
The city in your profile is not valid"

Collapse
 
salihbezai profile image
salihbezai • Edited

thank you
Alt text of image

Alt text of image

Collapse
 
yashwanthyenugu profile image
Yashwanth Reddy • Edited

How to do URL forwarding?. By changing nameservers in freenom, URL forwarding is not working. Correct me if I'm doing wrong.

Collapse
 
devxan profile image
Xan Surnamehere

Vercel is a great option for hosting and URL forwarding.

Collapse
 
block_cipher profile image
Block_Cipher

Where should i host my website?

Collapse
 
devxan profile image
Xan Surnamehere • Edited

I would recommend these for frontend apps: Cloudflare Pages, Vercel, Netlify, GitHub Pages, or Replit. (Possibly Glitch as well.) Some of these can also host your backend.

Collapse
 
haze profile image
Haze

Thanks!

Collapse
 
lepinekong profile image
lepinekong

By switching to cloudflare dns it will support @ record ?

Collapse
 
jiroro profile image
Williams Lee

Hi, may i know why I can add my domain name
Thank you

Collapse
 
ra3iha09 profile image
راعيها

This page isn’t workingmy.freenom.com is currently unable to handle this request.
HTTP ERROR 503

i try to open the page but couldnt

Some comments may only be visible to logged-in visitors. Sign in to view all comments.