DocsFor freelancers and agencies
Publish a preview link on your own hosting.
You built a first draft for a business. To show it, put it online on your own hosting and send the owner the link. Cloudflare Pages is free and takes a few minutes.
The build prompt ends with this step, so your AI tool can do most of it for you. A preview is a quick first draft for the owner to see before they say yes. Once they do, the site moves to your hosting plan or theirs, with their own domain.
The build prompt uses Cloudflare Pages on the free plan: the pages.dev address loads over https and sends http there, with no setup. Netlify and Vercel work the same way: upload the folder in their dashboard, or use their command line.
Before you publish
- The folder: the site's files with
index.htmlat the top. With the build prompt, that is thepublicfolder. - The preview line: the slim line at the top of every page ("Preview for ..., not live yet") stays until the owner approves.
- Out of search engines: keep
noindexin_headersand in every page while it is a preview. - Real facts only: anything not confirmed stays marked
[NEED: ...], so the owner can see what is missing.
By upload, in the browser
- Open Cloudflare. Sign in at dash.cloudflare.com, or make a free account.
- Make a Pages project. Go to Workers & Pages, Create, Pages, and choose to upload your files.
- Name it. The name becomes the address:
bakery-examplegivesbakery-example.pages.dev. Cloudflare adds a few letters if the name is taken. - Upload the folder. Drag in the
publicfolder, or a zip of it, and deploy. - Open the address on your phone and on a computer, and check every page before you send it.
To change the draft later, upload the new files to the same project as a new deployment. The address stays the same. Cloudflare's own guide: Cloudflare Pages. The names of the buttons change from time to time.
With wrangler, for Claude Code
If your AI tool can run commands (Claude Code, Cursor, Codex and similar), it can publish every new version for you. It asks you first. Make the project once by upload, as above; wrangler then updates it.
- Sign in once:
npx wrangler login. It opens your browser. Never paste a password, token or key into the chat. - Publish:
npx wrangler pages deploy public --project-name bakery-example --branch main. The address stays the same. - Send the project's address,
bakery-example.pages.dev. Wrangler also prints a longer address for that one version; that one is not for the owner.
If wrangler offers to make a Worker instead of a Pages project, say no. The build prompt uses Pages only, because https, clean addresses, the headers and the 404 page then work with no extra setup.
Send the link
Put the address in your first email or message to the owner, on its own line: "I made a first draft of a new website for you: the link". Say it is a first draft, and ask what they think. In your dashboard, mark the business as Sent.
The client's domain, later
When the owner says yes, the site can keep running on Pages with their own domain: in the project, Custom domains, add the domain and follow the steps. The owner, or whoever looks after their domain, does this with their own login. If the domain moves to Cloudflare, check first that every email record (MX, SPF, DKIM, DMARC) comes along. Then remove the preview line and noindex, publish again, and run an audit.
Or the site moves to the client's own hosting: give them every file as a zip.
You host it, not JustAudited
JustAudited makes the prompt. The site runs on your own account, under your name and the hosting company's terms. You decide what goes online, and you take it down if the owner says no: delete the project, and the address stops working.