Help center · Publishing

Put your website online with Cloudflare

A friendly, step-by-step walkthrough for publishing the site we built for you on your own Cloudflare account, and connecting your own domain if you like.

Last updated: November 13, 2026

How publishing worksYour computer holds the website file. You upload it to your own Cloudflare account. Cloudflare serves it as your live website.Your computerthe ZIP fileCloudflareyour own accountLive siteyourbusiness.com

At a glance

  1. 1Create your accountEmail and password
  2. 2Upload your siteDrag, drop, deploy
  3. 3Connect a domainOptional
  4. 4Add updatesOnly when we send a new file

Publishing (steps 1 and 2) is a short sequence of clicks. Connecting a domain can take longer. Cloudflare says registering a new domain “may take up to 30 seconds”, and that after changing nameservers you may need to “wait up to 24 hours while your registrar updates your nameservers”. Learn more: Nameserver setup

Before you start

  • The ZIP file we sent youPlease don't unzip it or change anything inside.
  • An email address you checkCloudflare uses it for your account and recovery.
  • A computer with a browserDragging a file is easiest on a computer.
Step

Step 1: Create your Cloudflare account

Email and password
  1. Open dash.cloudflare.com/sign-up.
  2. Enter your email address.
  3. Choose a password and keep it to yourself.
  4. Select Create Account.
  5. Open the verification email from Cloudflare and confirm your address.

Recommended: two-step login

  1. After your email is verified, open My Profile.
  2. Select Authentication.
  3. Add a method, such as an authenticator app on your phone.
  4. Save your backup codes somewhere safe.

Learn more Create an account Two-factor authentication (opens Cloudflare's documentation)

Step

Step 2: Upload your website

Drag, drop, deploy
  1. Log in to the Cloudflare dashboard.
  2. Open Workers & Pages.
  3. Select Create application.
  4. Select Get started.
  5. Choose Drag and drop your files.
  6. Type a project name, for example your business name in lowercase: yourbusiness.
  7. Drag the ZIP file into the upload area.
  8. Select Deploy site. If you see Save and Deploy instead, select that.
  9. Open https://yourbusiness.pages.dev (with your project name) and check it on your phone. Tap the call and WhatsApp buttons to make sure they reach you.

Your site is live.

Good to know: one drag-and-drop upload can hold up to 1,000 files of up to 25 MiB each, and a project created this way can't be switched to a different upload method later.

Learn more Direct Upload Pages limits (opens Cloudflare's documentation)

Step

Step 3: Connect your own domain

Optional

Choose the option that fits you. You can also skip this and keep your free .pages.dev address.

Which describes you?

Buy a new domain at Cloudflare

  1. Make sure your Cloudflare email address is verified.
  2. Open the Register domains page.
  3. Search for the name you want.
  4. Select Purchase next to an available name.
  5. Choose how many years.
  6. Enter your contact details in English letters.
  7. Add a payment method. You pay Cloudflare directly.
  8. Read and accept the agreements.
  9. Select Complete purchase.
  10. Open the email asking you to verify your domain contact email, and confirm it.

Cloudflare says registration may take up to 30 seconds, auto-renew is on by default, and a domain whose contact email is not verified is put on hold.

Learn more Register a new domain (opens Cloudflare's documentation)

Use a domain you already own

  1. In Cloudflare, open Domains.
  2. Select Onboard a domain.
  3. Enter your domain, like yourbusiness.com, and select Continue.
  4. Choose a plan. A Free plan is available.
  5. Review the DNS records Cloudflare found. If you use email on this domain, check that the MX records are listed.
  6. At the company where you bought the domain, turn off DNSSEC if it is on.
  7. Copy the two nameservers Cloudflare shows you.
  8. At that company, replace the current nameservers with Cloudflare's two.
  9. Wait until Cloudflare shows the domain as Active. Cloudflare says this can take up to 24 hours, and it emails you when it's done.

Not sure where you bought your domain? Cloudflare suggests a Whois search such as ICANN Lookup.

Learn more Onboard a domain Update nameservers Nameserver setup (opens Cloudflare's documentation)

Connect only a subdomain

  1. Keep your DNS where it is and finish “Connect it to your site” below first.
  2. Then, at your DNS provider, add a CNAME record that points to yourbusiness.pages.dev.

Please keep this order. Cloudflare notes that adding the record before connecting the domain can show an error 522.

Learn more Custom domains (opens Cloudflare's documentation)

Connect it to your site

  1. Open Workers & Pages and select your project.
  2. Open the Custom domains tab.
  3. Select Set up a domain.
  4. Enter your domain and select Continue.
  5. Check the DNS record Cloudflare will add, then confirm.
  6. Optional: repeat for www.yourbusiness.com.
  7. Open your domain and look for the padlock in the address bar.
Example from Cloudflare's documentation: the Custom domains tab of a Pages project with a button to set up a custom domain.
The Custom domains tab. In this example the button reads “Set up a custom domain”.Screenshot: Cloudflare documentation, CC BY 4.0
Example from Cloudflare's documentation: a Confirm new DNS record screen with an Activate domain button.
Confirming the DNS record. In this example the button reads “Activate domain”.Screenshot: Cloudflare documentation, CC BY 4.0

Learn more Custom domains (opens Cloudflare's documentation)

Step

Step 4: Add an update later

Only when we send a new file
  1. Open Workers & Pages and select your project.
  2. Select Create a new deployment.
  3. Choose Production.
  4. Drag in the new ZIP file and deploy. Your address stays the same.
  5. Refresh your site. If you still see the old version, close the tab and open the site again.

Learn more Direct Upload (opens Cloudflare's documentation)

If something doesn't look right

What you seeWhat usually helps
No verification emailCheck your spam folder and make sure the address is spelled correctly.
A red warning next to a file while uploadingThat file is too large. Please don't edit the files; ask us for a corrected ZIP and upload the whole site again.
Error 522 on your domainThe record was probably added before the domain was connected. Connect it in Custom domains first.
Domain stays pending or has no padlockCheck the nameservers match Cloudflare's two exactly. CAA records can also block the certificate.
Email stopped working after moving the domainCheck your MX records exist in Cloudflare DNS and contact your email provider.

Cloudflare's own help

On the Free plan, Cloudflare recommends its Community forum. Its support is in English, and it can't make changes in your account for you.

Learn more Contacting Cloudflare Support (opens Cloudflare's documentation)

Want a hand?

Send us a screenshot of the screen you're on (please hide any passwords, codes or personal details) and tell us which step you're at. We'll gladly point you in the right direction when we can.

Cloudflare's dashboard is available in several languages; button names here are shown in English. Learn more: Dashboard languages