# The website builder for ChatGPT

Connect PageHub to ChatGPT and ask for the site you want. ChatGPT builds
it, you check it, and it goes live on your own domain. You or your client
can keep editing it in a visual editor, no AI needed.

If you searched for a **ChatGPT website builder**, you probably already
know ChatGPT can write a website. PageHub is a **website builder for
ChatGPT**: the part that hosts it, puts it on your domain, and lets people
edit it later. Here's how to **build a website with ChatGPT** and publish
it.

## Sites built this way

Real client sites built on PageHub and live today. These two were built
with Claude. ChatGPT connects to the same server and uses the same tools.

- **[Goalposts](https://goalposts.ai)** — went from nothing to published
  in 25 minutes.
- **[DMV Exteriors](https://dmvrestorations.com)** — a roofing and siding
  contractor's site. Sam, the owner, now adds to it himself.

## Can ChatGPT build a website on its own?

Yes. ChatGPT can write the code for a whole website. What it doesn't do
on its own is run the site after that: the domain, the hosting, the
forms, and the edits next month.

**ChatGPT chat and canvas** can write a full page of HTML, CSS, and
JavaScript from a description, preview HTML and React code in canvas,
and share the conversation as a link. It leaves to you:

- Putting it on your own domain. You copy the code out and find a host
- Saving form submissions or SEO settings
- Letting someone else change it without going back to ChatGPT

**Codex** can build a complete code project, run it, test it, fix it,
and commit it to a git repository. It leaves to you:

- Hosting. You pick a host, connect the repo, and set up DNS yourself
- A way for a non-developer to edit it. Changes mean code, or asking an
  AI again

That's fine for a prototype. For a business site, you also need an
address people can find, a form that reaches you, and a way to fix a
typo without starting a new chat.

## What PageHub adds

PageHub is a website builder with an MCP server. ChatGPT uses it the way
you'd use the editor: it creates the site, adds pages, and publishes, one
tool call at a time.

- **A site, not a single file.** Pages, sections, and a theme you can
  change in one place. Multi-page sites, navigation, and a 404 page.
- **Your own domain.** ChatGPT attaches the domain and gives you the DNS
  records to add at your registrar. SSL certificates are issued for you.
  On the free plan you can connect 1 domain you own.
- **An editor anyone can use.** Every site opens in a visual editor.
  ChatGPT sees your edits the next time you ask it for changes.
- **Nothing goes live until you publish.** Everything ChatGPT writes
  lands in a draft.
- **Forms, collections, and Stripe.** Contact forms that save
  submissions, collections you can fill from a CSV, and a Stripe checkout.
- **Checks before it ships.** ChatGPT can screenshot any page at phone
  width and run SEO and accessibility audits.

## Connect PageHub to ChatGPT

The hosted server is `https://pagehub.dev/api/mcp`. It works on every
PageHub plan, including free, and sends ChatGPT its build rules when it
connects.

**ChatGPT on the web**

ChatGPT needs a paid plan with Developer mode on. On a Business or
Enterprise plan, an admin turns that on first.

1. In ChatGPT on the web, open Settings and turn on Developer mode.
2. Create a new app or connector, name it PageHub, paste the URL below,
   and pick OAuth for sign-in.
3. Sign in to PageHub in the window that opens.
4. In a chat, turn PageHub on from the Developer mode tools in the
   message box.

Connector URL: `https://pagehub.dev/api/mcp`

**Codex, or any coding app**

Paste the setup prompt from https://pagehub.dev/developers/mcp into
Codex. It adds PageHub to its own settings, then gives you a link to
sign in to PageHub.

## From one prompt to a live site

An example prompt:

```
Use PageHub to build a site for my dog grooming shop, Suds & Paws, in Portland.
3 pages: home, services with prices, and contact with a booking request form.
Warm colors, stock photos that fit, friendly copy.
Show me a phone screenshot before you publish.
When I say go, put it on sudsandpaws.com.
```

What ChatGPT does with it:

1. **Starts the site** (`list_templates`, `create_site`).
2. **Sets the look** (`suggest_palettes`, `set_theme`). It can show 3
   palette options in the chat first.
3. **Builds the pages** (`add_page`, `apply_kit_block`, `find_image`).
4. **Checks its own work** (`screenshot_site`, `audit_seo`,
   `audit_accessibility`) at phone width, and fixes what it finds.
5. **You review the draft.** Nothing is live yet. Ask for changes, or
   open the editor.
6. **Connects the domain** (`set_domain`, `get_domain_status`) and hands
   you the exact DNS records to add at your registrar.
7. **Publishes** (`publish_site`) when you say go. The SSL certificate
   can take a few minutes to arrive.

## Ways to ship a site you built with ChatGPT

These are categories, not specific products.

| | ChatGPT canvas | Codex + git + a host | Paste-HTML hosts | AI app builders | ChatGPT + PageHub |
|---|---|---|---|---|---|
| Built by the ChatGPT you already use | Yes | Yes | ChatGPT writes it, you paste it | Some offer a ChatGPT app | Yes, over MCP |
| On your own domain | No, the code stays in the chat | Yes, once you set up hosting and DNS | Depends on the host | Depends on the plan | Yes, 1 on the free plan |
| What you end up with | Code in a chat | A code project | An HTML file | An app codebase | A multi-page site in a visual editor |
| Someone can edit it without AI | Only by editing the code | Only if they can edit code | Only by editing the HTML | Mostly through prompts or code | Yes, in the visual editor |
| Forms that save submissions | No | You build or add one | Depends on the host | Often, with a database | Yes, built in |
| Setup | None | Repo, host, build settings, DNS | Copy and paste | An account with the builder | Turn on Developer mode, add a connector, sign in |

If you want full control of the code and you're happy running the
hosting, Codex with a host is a good fit. If the site needs to live on a
real domain and be edited by people who don't write code, that's what
PageHub is for.

## Built for handing sites to clients

- **Your client edits it without ChatGPT.** The same visual editor, no
  AI account needed.
- **Invite them to the site.** On Pro and up, add clients as editors, as
  many as you need, with no per-seat charge.
- **Every version is kept.** Restore the whole site or a single page.
- **You can take it with you.** Export the site as static HTML on every
  plan.

## What it costs

Connecting ChatGPT to PageHub is free.

- **Free, $0:** 1 published site on your own domain with SSL, 20 pages
  per site, unlimited drafts, no PageHub branding, no credit card.
- **Pro, $7 per site a month** ($5 when you pay yearly): 300 pages per
  site. Each Pro site adds another published site and domain. Cancel any
  time and sites go back to drafts. Nothing is deleted.

Compare all plans: https://pagehub.dev/pricing

## Questions

### Can ChatGPT build a website?

Yes. ChatGPT can write the code for a whole site, and Codex can build a
full project. On its own, though, it doesn't host the site, connect your
domain, or give anyone a way to edit it without AI. With PageHub
connected, ChatGPT builds the site inside a website builder, so those
parts are handled.

### Can I edit a website ChatGPT built?

Yes. Every site ChatGPT builds on PageHub opens in the visual editor.
Drag sections around, change colors, swap fonts, and rewrite copy
yourself. ChatGPT sees your edits the next time you ask it for changes.

### Do I need a paid ChatGPT plan?

Yes. Adding a custom connector needs Developer mode, which is on paid
ChatGPT plans. On a Business or Enterprise plan, an admin turns it on
first. PageHub itself has a free plan, and Codex is another way to
connect.

### Is PageHub free?

The MCP connection works on every plan, including free. The free plan
gives you 1 published site on your own domain, 20 pages per site,
unlimited drafts, and no PageHub branding on the live site. Pro is $7 per
site a month, or $5 when you pay yearly.

### Does it work with my own domain?

Yes. ChatGPT attaches the domain and gives you the DNS records to add at
your registrar. Once they're in place, SSL is issued automatically, which
can take a few minutes. On the free plan you can connect 1 domain you own. Each site has
one domain.

### Is it safe to connect ChatGPT to my site?

You sign in through your browser, so you don't paste a password or key
into ChatGPT. Everything ChatGPT writes lands in a draft, and the live
site doesn't change until someone publishes. Site history keeps past
versions, so you can restore a page or the whole site.

### Are sites ChatGPT builds on PageHub good for SEO?

Pages render to HTML on the server, and a site on a custom domain gets
its own sitemap.xml and robots.txt. ChatGPT can set page titles and
descriptions and run an SEO audit that flags missing titles, headings,
and alt text, then fix them.

### Does it work with AI apps other than ChatGPT?

Yes. Claude, Cursor, VS Code's built-in agent, and any agent that speaks
MCP can use the same server. A site one agent started, another can keep
editing.

---

ChatGPT and Codex are trademarks of OpenAI. PageHub isn't affiliated with
or endorsed by OpenAI.
