When you host your website on a platform like Cloudflare Pages, Netlify or Vercel, it usually comes with a free address to go with it, something like yoursite.pages.dev.
But then, you might be wondering how on earth you connect your website to your own domain, the one you probably registered with another service. I got you!
The three pieces you’ll need
It helps to know what’s what:
- Your website files. The ready-made pages, images and styles that make up your site.
- Your host. The service that stores those files and hands them to visitors. I use Cloudflare Pages. Netlify and Vercel work in much the same way.
- Your domain. Your web address, which you rent from a domain registrar, usually yearly. You can keep it registered wherever it already is.
Connecting them is mostly a matter of telling each one about the others.

Five steps to put your website on your own domain
Step 1: Keep your files in one place you control
Your website’s files should live somewhere you own and can move. Many people keep them in a GitHub repository, which also keeps a history of every change. Most static hosts can connect to it directly and rebuild your site whenever you update it.
Some hosts also let you upload a folder of files directly, which is fine for a very simple site.
Step 2: Create your site on the host
On your host, create a new project and connect it to your files. The host builds your site and gives you that free temporary address.
Open that address and check everything before you go any further. This is your chance to look around while nobody else can see it.
Step 3: Connect your custom domain
In your host’s settings, add your custom domain. The host will then tell you what to change at your domain registrar, usually one of these:
- Add or update a DNS record, which points your domain at your new host
- Change your nameservers, which hands all of your domain’s settings over to your host
DNS is just the internet’s address book. It tells browsers where to find your site when someone types your domain.
The exact clicks depend on your host. I’ve put them for Cloudflare Pages, Netlify and Vercel further down.
You can change where your website lives without changing your web address.
If your email uses your domain (like
hello@yourbusiness.com), make sure your email records come along too, especially if you change nameservers. Otherwise your email can quietly stop arriving.
Step 4: Wait for the padlock
Once your domain points at the new host, it sets up HTTPS for you, for free. That’s the padlock in the address bar, and it means the connection to your site is secure.
Step 5: Do your launch checks
Before you celebrate:
- Every page loads on your real domain, with the padlock showing.
- Both versions work. With and without “www” should end up in the same place.
- Old links redirect. Try a few addresses from your old site and check they land on the right new pages.
- Forms send. Send yourself a test message.
- Email still arrives. Send a message to your business address from another account.
- It looks right on your phone.
- Google knows your address. Your sitemap and page settings should use your real domain, not the temporary one or an old one. (I missed this the first time, and every page was quietly telling Google my old domain was the real one.)
How to connect your domain on Cloudflare Pages, Netlify and Vercel
Dashboards change often, so I last checked these steps on 29 October 2026. If a button has moved, your host’s own help pages will have the latest version.
Cloudflare Pages
- In your Cloudflare dashboard, go to Workers & Pages and open your project.
- Go to Custom domains, then select Set up a domain.
- Type your domain and select Continue.
What happens next depends on the address you’re adding:
- Your main domain (
yourbusiness.com) needs to be on Cloudflare. That means adding your domain to your Cloudflare account and changing its nameservers to the ones Cloudflare gives you. Your domain stays registered where it is. Once Cloudflare spots the change, it sets up the rest for you. - A subdomain (like
www.yourbusiness.com) can stay with your current DNS provider. Add a CNAME record that points it atyoursite.pages.dev.
Netlify
- Open your site in Netlify and select Domain management.
- Select Add domain, then Add a domain you already own.
- Type your domain, select Verify, then Add domain.
You can then either move your nameservers to Netlify DNS or keep your current DNS provider and add these records:
- Your main domain: an ALIAS, ANAME or flattened CNAME record pointing to
apex-loadbalancer.netlify.com. If your provider doesn’t offer those, use an A record pointing to75.2.60.5. - The www version: a CNAME record pointing to your Netlify address, like
yoursite.netlify.app.
Netlify adds both versions for you, so set up both records. Netlify shows the exact values next to your domain under Pending DNS verification, so copy them from there.
Vercel
- Open your project, go to Settings, then Domains.
- Select Add Domain and type your domain. If you add your main domain, Vercel suggests adding the www version too, and redirecting one to the other. Say yes.
Then, at your DNS provider:
- Your main domain: add the A record Vercel shows you (usually
76.76.21.21). - The www version: add the CNAME record Vercel shows you. It’s unique to your project, so copy it exactly.
You can also move your nameservers to Vercel instead. If you do, copy your existing records across first, including your email ones.
What it costs
On a static host’s free plan, hosting a small business website can cost nothing at all. Your domain is the main ongoing cost, the same as before. If you add a form service, booking tool or shop, those may have their own costs.
You keep the important part
Your domain, your files and your words all stay yours. If you ever want to move host again, you can, because everything is portable.
If you’re planning a move like this, my free Website Prompt Generator helps you write a brief for your new site.
Or if you’d rather skip the DNS settings altogether, I connect your domain and do every launch check for you when I build your website. See Small Business Websites.
Where does your website live right now? Reply by email and tell me.
Still learning with you, little by little. 🤎
xo,
Elaine Roselle
This post was drafted with the help of AI from my planning notes and build history. It is carefully edited to fit my own voice.