Use a Domain with Cloudflare
This guide is only needed if you want to use Cloudflare as your hosting provider and your domain was registered somewhere other than Cloudflare.
If you registered the domain with Cloudflare, the domain is already in Cloudflare and already uses Cloudflare nameservers. In that case, you do not need to add the domain again or change nameservers.
Before You Start
Make sure you have:
- A Cloudflare account.
- Access to the account where you bought the domain.
- The domain name you want to use, such as
example.com. - Your Teluyo site ready to publish or already exported.
Add the Domain to Cloudflare
- Log in to the Cloudflare dashboard.
- Go to Websites and choose Add a domain or Add a site.
- Enter the root domain, such as
example.com. Do not enterhttps://,www, or a page path. - Choose the plan you want to use.
- Review the DNS records Cloudflare finds. Keep important records such as email records if you already use email on this domain.
- Continue until Cloudflare shows the nameservers assigned to your domain.
Change Nameservers at Your Domain Registrar
If the domain was not registered with Cloudflare, you must update nameservers where you bought the domain.
- Open the dashboard for your domain registrar.
- Find the DNS or nameserver settings for the domain.
- Replace the current nameservers with the two nameservers Cloudflare shows.
- Save the changes.
- Return to Cloudflare and use the option to check or refresh nameserver status.
Activation can take some time while DNS changes update across the internet.
If You Cannot Change Nameservers
Some domain sellers or website builders do not expose nameserver settings. If you cannot change nameservers, use one of these options:
- Contact the company where you bought the domain and ask where nameservers are managed.
- Transfer the domain to a registrar that allows nameserver changes.
- Transfer the domain to Cloudflare Registrar if you want Cloudflare to manage the domain.
- Use Cloudflare's partial setup option if your Cloudflare plan supports it.
Connect the Domain to Your Cloudflare Hosted Site
After the domain is active in Cloudflare, connect it to your hosted site. For Cloudflare Pages, open your Pages project, go to Custom domains, and add the domain or subdomain you want to use.
Cloudflare may ask you to create or confirm DNS records. Follow the prompts until the custom domain is active.
Important Notes
- Changing nameservers affects DNS for the whole domain, including email. Check that email records such as MX and TXT records are present in Cloudflare before switching.
- Do not transfer the domain unless you specifically want Cloudflare or another registrar to become your domain registrar.
- If the domain is already registered with Cloudflare, do nothing in this guide. The domain is already there.