Can You Use a Custom Domain on Free Hosting? (2026)
Yes, you can use your own custom domain on free hosting — on the best free hosts it is free to connect. Cloudflare Pages, GitHub Pages, Netlify, Vercel and InfinityFree all let you point your own domain at a free site and issue a free SSL certificate for it. The main exception is WordPress.com's free plan, which gives you a subdomain only. One thing stays true everywhere: free hosting does not mean a free domain — you still buy the domain name itself. Here is how it works and what to avoid.
Which free hosts allow a custom domain
Most of the good free hosts include a custom domain at no cost. Cloudflare Pages, GitHub Pages, Netlify and Vercel all let you connect your own domain on the free tier, with automatic free HTTPS — this is a big reason the static hosts rate so highly, and we cover them in the best free hosting for a static site. InfinityFree also supports custom domains for free alongside its free subdomains. The notable exception is WordPress.com's free plan: it gives you a yoursite.wordpress.com subdomain and reserves custom domains for paid plans. So if using your own domain matters, choose a host that includes it — most do.
You still have to buy the domain
Free hosting and a free domain are two different things, and this trips people up. The host serves your site for nothing, but the domain name — the yoursite.com address — is registered separately through a registrar, and that costs money: a common .com runs roughly 10 to 15 dollars a year. A reputable registrar such as Namecheap is where most people buy one; that is an affiliate link, so we may earn a commission at no cost to you, and it does not change this advice. You register the domain there, then point it at your free host. The domain is yours and portable, which is exactly why owning one is worth the small yearly fee.
Why "free domains" are a trap
Free domain names are a false economy, and recent history proves it. For years Freenom handed out free domains on extensions like .tk, .ml and .ga, and countless sites built on them. Freenom then stopped issuing new domains amid legal pressure, and huge numbers of those free domains were reclaimed or left in limbo — taking the sites with them. A free domain is one the provider can pull back at any time, and you cannot move it or truly own it. Paying a few dollars a year for a real domain from a proper registrar buys you something a free domain never gives you: control.
Owning your domain is the single best insurance in free hosting. If the host disappears or disappoints, a domain you control lets you move the whole site elsewhere without changing its address. A free subdomain or a free domain ties your site's identity to someone else's platform — and that is exactly what you do not want when the platform is free.
How to connect a custom domain to a free host
The process is the same in shape on every host. In your host's dashboard, add your custom domain. The host gives you DNS records to set — usually an A record or a CNAME pointing at the host. You add those records at your registrar, where you bought the domain. Within minutes to a few hours the domain resolves to your site, and the host automatically issues a free SSL certificate so it loads over HTTPS. Once it is connected, updating the site never touches the domain again; the address is yours and stays put.
Subdomains: when they're fine
A free subdomain like you.host.com is genuinely fine for some things: a test site, a learning project, a personal page you do not need to brand, or anything temporary. It costs nothing and works instantly. It is the wrong choice only when the site represents you or a business, because it tells every visitor the site is hosted on someone else's free plan. For those, buy the domain. To match a host that includes a free custom domain to your project, use our best free web hosting ranking.
What about email at your custom domain?
Connecting your domain to a free host does not give you email at that domain, and this is the gap people discover late. A free static host serves your website but runs no mail server, so you cannot send or receive mail as [email protected] through it. The workaround is to handle email separately: point your domain's mail records at a dedicated email provider, which can be a paid mailbox for a couple of dollars a month or, for personal use, a limited free email tier from a mail service. Your website stays on the free host, and your email lives with a mail provider — they are two different services that happen to share the domain. If professional email at your domain is essential and you would rather have it bundled, that is one of the clearest reasons to move to a cheap paid host, which usually includes mailboxes.
A quick word on DNS and who controls it
The piece that ties everything together is DNS, and it is worth understanding because it is where you keep control. DNS is the address book that maps your domain to wherever your site and mail live, and it is managed at your registrar or a DNS provider — not at the free host. That separation is a feature: because you own the domain and control its DNS, you can repoint it from one free host to another, or to a paid host, in minutes, and visitors never notice. It is the mechanism that makes a custom domain portable. Keep your registrar login safe, understand that changing an A or CNAME record is how you move the site, and you hold the one part of the setup the free host can never take away.
Custom domains on free hosting: questions on the record
Can I use my own domain with free web hosting?
Is the domain free too, or just the hosting?
Should I use a free domain like .tk?
Start from the top of the file: the best free web hosting, honestly ranked, or read whether free web hosting is safe before you build.