Put your site live for free

You'll host your site free on Cloudflare, so anyone with the link can open it.

20 min Do it yourself (medium)· Tools: free hosting, domain $20/yr

Website and forms

Put your site live for free

  1. 1

    Make a Cloudflare account.

    Sign up at dash.cloudflare.com and confirm your email.

  2. 2

    Using Grok Bot? Make an API token, and skip step 4.

    In Cloudflare, click your profile icon, then My Profile, then API Tokens, then Create Token. Under Custom Token, pick Get started. Give it Account, Cloudflare Pages, Edit, then create it. Copy it right away, because Cloudflare shows it only once. Then open Workers & Pages. In Account Details, click the copy button next to Account ID. Add the token and the Account ID to Grok Bot's Secrets, never in a chat. Then ask Grok Bot to upload your folder. Using Claude Code instead? It can run wrangler login, which signs you in through your browser, so you need no token.

  3. 3

    Get a domain.

    Buy one, like yourname.com, at Squarespace Domains. Skip this if you already have one.

  4. 4

    Upload your site.

    First move any keys, tokens, .env files and private notes out of your folder. In Cloudflare, open Workers & Pages. Pick Create application, then Get started, then Drag and drop your files. Name the project, drop in your folder with its index.html, and pick Deploy site. You get a free link that ends in pages.dev. If the name is taken, the link gets a few extra letters.

  5. 5

    Add your domain in Cloudflare.

    In your Pages project, open Custom domains and pick Set up a domain. Type www.yourdomain.com. Do this before the next step.

  6. 6

    Point your domain at it in Squarespace.

    Squarespace asks for your password first. In DNS settings, delete the default www record. Add a CNAME record named www with the value yourproject.pages.dev. Then forward yourdomain.com to www.yourdomain.com as a permanent 301. Your site lives on www, because the bare domain only works on Pages if you move the whole domain to Cloudflare. Don't delete records you didn't make.

  7. 7

    Wait for your domain to open your site.

    It can take a little while. If it doesn't load, try a private window.

PromptPaste into Claude
You are a patient tech helper, a pro with 10 years of putting small business sites live for people who have never done it.

Goal: put my website folder live for free on Cloudflare Pages and point my domain at it, so I end with my site working at my www address.
Context: I run a small business and I'm not technical. I need plain steps and what I should see after each one, because one wrong click in DNS can break my site or my email.

First, check that you can read the files in my website folder. Tell me how many files you found and if there is an index.html. If you can't read the folder (like in a plain AI chat), stop and ask me to paste them instead: the list of file names. If there is no index.html, stop and tell me.

Ask me these, then run. Skip any I already answered.
1. My domain? (Default: no domain yet, so we stop at the free pages.dev address.)
2. Where did I buy it? (Default: [check: where I bought it], and give steps that work at most places.)

Walk me through putting it live for free on Cloudflare Pages, one step at a time, for someone who has never done it. Then show me how to point my domain at it.

How to teach me:
1. First, tell me in 2 lines what we'll do and why.
2. Before any upload, look through my folder for private files: keys, tokens, private notes, .env files, backups, hidden files, and any file that holds a password. List each one for me by name and have me move them out of the folder. Do not go on until they are out. If you can't read the folder, ask me to check for these by hand.
3. One step at a time, with exactly where to click.
4. After each step, say what I should see.
5. If my screen looks different, stop and fix that first. Only go on when it matches.
6. At the end, check with me that the site opens at the pages.dev address, and at my www address if I have a domain.

Give me one step per message, under 60 words. The first message can also hold the folder check and the 2 line plan.

Before you show me each step, check:
- Check that it keeps the order: add the custom domain in Cloudflare before the CNAME record.
- Check that no private file from step 2 is still in the folder before the upload step.
- Check that it never deletes a DNS record I didn't make, and never asks for a password or a token.

Rules:
- Wait for me to say done before the next step.
- Tell me what each step does in plain words.
- Add the custom domain in Cloudflare before the CNAME record.
- Use www, and forward the bare domain to it.
- Never tell me to delete DNS records I didn't make.
- Never ask me to paste a password or a token into the chat.
- Before upload, list any file that holds a password, token or private note, plus backups and hidden files, and have me move them out of the folder. Do not go on until they are out.
- I make every click myself. Ask me before you change, delete or buy anything.
- Never make up a menu, a button name, a price or a setting. If you're not sure what my screen shows, ask me.
- If something you need is missing, write [check: what is missing] in that spot and keep going.

Last, save these steps as a skill called 'Put Site Live' so you do it this way each time I ask to put a site live.
To run it again, just say: "Run my Put Site Live skill."

Built from: Extreme Ownership, Jocko Willink and Leif Babin, Chapter 6: Simple

This guide is free forever. If it helped, you can leave a tip.

Get new guides by email when they come out. Free. Leave any time.

Next guideMake a feedback form in 5 minutes More in this topicWebsite and forms

Don't see your work? Request a guide.

Want this built for you?

Watch

3-Minute Cloudflare Pages Tutorial: Upload & Deploy Static…

Video by AuraWeave

How To Connect Custom Domain To Cloudflare Pages | Step by…

Video by Tech Express