naïve
← Blog
GuideDevelopersNovember 26, 2026·11 min read

Have ChatGPT Build and Deploy a Website to Your Own Domain

Can ChatGPT deploy a website? Yes, with ChatGPT Sites, to a domain you already own. To have an agent buy the domain and deploy from Codex, the CLI or a script, use Naive: apps $0.01 a day, $0.10 per deploy.

Guide/apps

TL;DR

  • Yes, ChatGPT can deploy a website: ChatGPT Sites (Plus, Pro, Business, Enterprise) publishes it and connects a domain you already own. It cannot buy the domain, run under your agent's API key, or deploy from a script or another agent.
  • Naive covers that path: the agent checks and buys the domain with approval and a price ceiling, then deploys from Codex, the naive CLI or the SDK, all on one balance and audit log.
  • Naive hosts it: a hosted app is $0.01 a day, each deploy is $0.10, and a domain is billed at the registration price shown before you buy.
  • In ChatGPT itself, the Naive connector needs a Business, Enterprise or Edu workspace. It checks domains for free; the deploy runs from Codex, the naive CLI or the SDK.
  • Buying a domain always asks a person first by default, and the purchase never pays above the maximum price you set.
  • Hosting and buying domains need a first $10 top-up. New keys come with $1 of free credit, no card.

Tools used in this post

Yes, ChatGPT can deploy a website: ChatGPT Sites (Plus, Pro, Business and Enterprise) publishes a site and can connect a domain you already own. What it cannot do is buy the domain, run under your agent's API key, or deploy from a script or another agent. That is the path Naive covers. ChatGPT writes the site, then Codex (OpenAI's coding agent), the naive CLI or a few lines of SDK code checks and buys the domain with your approval and a price ceiling, creates a hosted app, deploys the files and points the domain at it. A hosted app is $0.01 a day, each deploy is $0.10, and everything lands on one balance and one audit log next to the agent's other tools.

Naive is a developer platform that gives AI agents priced tools and resources, including hosted apps and domains, through one API key, one SDK, one CLI and one MCP server, with a person's approval on anything that spends money.

Definitions: an app is a hosted web application at its own URL; frontend_only is a static or client-rendered site, fullstack adds a managed Postgres database, storage and server routes. A domain is a name your workspace owns, bought through Naive or connected from your registrar. A connector is an MCP server added to ChatGPT or Claude.

Can ChatGPT deploy a website?

Yes. ChatGPT is very good at writing a site: a landing page, a portfolio, a waitlist form. Canvas renders HTML and React previews inside the chat, and ChatGPT Sites publishes sites and light apps to a URL. According to OpenAI's help center, Sites is on Plus, Pro, Business and Enterprise plans (not Free or Go), connects a custom domain you already own through DNS records, and does not register domains. The gap is everything outside the chat: buying the domain, and deploying from a terminal, a script or another agent.

What you useWrites the siteHosts itYour own domain
ChatGPT chat with CanvasYesPreview inside ChatGPT onlyNo
ChatGPT SitesYesYes, included with Plus and ProConnect one you own (DNS); cannot buy one
ChatGPT with the Naive connector (Business, Enterprise, Edu)YesNo: the connector checks domains, not deploysCheck availability and price
Codex with the naive CLI or Naive's MCP serverYesYes, as a Naive appYes: buy one after approval, or connect yours
Your own script with the Naive SDKPaste ChatGPT's codeYesYes

So the honest answer to "can ChatGPT build a website and host it" is: yes, inside ChatGPT with Sites. When an agent should run the whole path itself, from buying the domain to deploying from a repo, pair ChatGPT's code with Codex and Naive. Codex runs in your terminal or repo, can run the naive CLI, and is included with paid ChatGPT plans.

ChatGPT Sites vs Naive

ChatGPT SitesNaive
Who paysIncluded with Plus and Pro; building counts toward Codex usagePrepaid Naive balance: $0.01 a day per app, $0.10 per deploy
Plan requiredPlus, Pro, Business or EnterpriseAny Naive key; a first $10 top-up unlocks hosting
Domain purchaseNo; connect a domain you already ownYes: free quote, then buy with a price ceiling
Deploy from an API or CLINo; you publish from ChatGPTYes: naive app deploy, naive.apps.deploy, or MCP
Works from other agentsNoYes: Codex, Claude, Cursor or your own script, with one API key
ApprovalsYou publish by hand in ChatGPTDomain purchases ask a person first by default; rules per action
DatabaseIncluded, up to 10 GBfullstack apps add managed Postgres for $0.33 a day

Choose ChatGPT Sites when you are building in chat and already own the domain. Choose Naive when an agent should do the whole job itself, under its own key, with spending visible in one place.

How do I connect Naive to ChatGPT?

Custom MCP servers in ChatGPT need a Business, Enterprise or Edu workspace with developer mode. Pro accounts can connect read-only, so actions will not run, and Plus and Free accounts cannot add custom MCP servers yet. The steps from the connect docs:

  1. In ChatGPT, open Plugins, select Add, then Add custom MCP server.
  2. Name it Naive, paste https://mcp.usenaive.ai/v1/mcp, and choose OAuth.
  3. Sign in to Naive, pick your developer workspace, and press Approve.

In a developer workspace, ChatGPT gets a focused tool list: tools_find, tools_describe and tools_run for the tool catalog, plus identities_list, emails_list, emails_send, messages_list, credits_get_balance and approvals_get. That covers checking a domain for free through the domains.check tool. It does not include creating apps, deploying or buying domains, so ChatGPT itself stops at "here is your code and the domain is available." Ask it something like:

Use Naive to check whether shipfromchatgpt.com is available and what it costs, then write me a one-page landing site as index.html, styles.css and script.js.

Not on a Business workspace? Use Claude instead: Claude's custom connectors work on the Free plan (one connector) and on paid plans, with the same URL. The full Claude path, including deploys from chat, is in Let Claude deploy a website to your own domain.

How does Codex deploy the site?

Codex is where an OpenAI agent finishes the job. Give it the folder ChatGPT wrote and either let it run the CLI, or connect Naive's MCP server to it.

To connect over MCP, add this to ~/.codex/config.toml, then run codex mcp login naive to sign in:

[mcp_servers.naive]
url = "https://mcp.usenaive.ai/v1/mcp"

Codex then finds Naive's operations with tools_search and runs catalog tools with tools_execute. To use the CLI instead, install it once in the environment Codex runs in:

npm i -g @usenaive-sdk/cli && naive auth login
naive credits topup --usd 10   # the first top-up that unlocks hosting and domains

Here is the whole path as one table, in the order the agent runs it:

StepCLISDKAsks a person?Cost
1. Check the domainnaive domain quote shipfromchatgpt.comnaive.domains.quote(name)NoFree
2. Buy the domainnaive domain purchase shipfromchatgpt.com --max-price-micro-usd 12000000naive.domains.purchase({ name, max_price_micro_usd })Yes, by defaultThe quoted price
3. Create the appnaive app create landing --type frontend_onlynaive.apps.create({ name, type })No$0.01 a day
4. Deploy the filesnaive app deploy app_... ./sitenaive.apps.deploy(id, files)No$0.10 per deploy
5. Wait for the buildnaive app deployments app_...naive.apps.deployments(id, { limit: 1 })NoFree
6. Connect the domain(SDK or MCP)naive.apps.connectDomain(id, domainId)NoFree

The CLI's deploy reads the whole folder, so ChatGPT's three files go up in one call. The free availability check is also a catalog tool, which the same CLI runs with --arg:

naive tools run domains.check --arg name=shipfromchatgpt.com

What does the SDK version look like?

If you would rather keep ChatGPT's code in a repo and deploy from a script, this is the same path in TypeScript. Paste ChatGPT's HTML into the index.html entry, or read it from disk.

import { createNaive } from "@usenaive-sdk/naive";
 
// Reads NAIVE_API_KEY. "wait" holds a call that needs approval until a person decides.
const naive = createNaive({ approvals: "wait" });
 
// 1. Free check: availability and first-year price.
const quote = await naive.domains.quote("shipfromchatgpt.com");
if (!quote.available || quote.registration_price_micro_usd === null) throw new Error("not for sale");
 
// 2. Buy it. Held for approval by default; never pays above the ceiling.
const domain = await naive.domains.purchase({
  name: quote.name,
  max_price_micro_usd: quote.registration_price_micro_usd,
});
 
// 3 + 4. Create the app and ship ChatGPT's files.
const site = await naive.apps.create({ name: "landing", type: "frontend_only" });
let deployment = await naive.apps.deploy(site.id, {
  "index.html": { content: "<!doctype html><title>Ship from ChatGPT</title><h1>We are live</h1>", encoding: "utf8" },
});
 
// 5. The build runs after the reply: poll until it settles.
while (deployment.status === "queued" || deployment.status === "building") {
  await new Promise((r) => setTimeout(r, 3000));
  deployment = (await naive.apps.deployments(site.id, { limit: 1 })).data[0]!;
}
 
// 6. Point the domain at the app.
await naive.apps.connectDomain(site.id, domain.id);
console.log((await naive.apps.domains(site.id)).data.map((d) => `${d.domain}: ${d.status}`));

Text files go as UTF-8 and images as base64. App names are lowercase DNS labels, and create is idempotent on the name, so running the script twice returns the same app. Until the domain is connected the app answers on a platform hostname in its url. Every method is documented in the SDK apps reference and the CLI apps reference.

What happens when the domain is connected?

That depends on where the domain came from:

Domain kindWho publishes the hosting recordsWhat you do
Bought through NaiveNaive, on connectNothing. Poll until the link is connected.
Yours, at another registrarYouAdd the records Naive returns, then run naive.domains.verify(id) until it passes.

To bring a domain you already own, connect it with naive.domains.create({ name: "yourcompany.com", kind: "external" }). The domains docs list every record and state. Once it is live, have the agent check it with the Developer utilities: ssl-check and dns-lookup are $0.032 a call, uptime-check is $0.022.

When ChatGPT writes a new version of the page, deploy the folder again. Each deploy is $0.10, and naive.apps.redeploy(site.id, "apd_...") rolls back to an earlier deployment without uploading anything.

What does it cost?

Every price is debited from your prepaid Naive balance. These come from the App and Domain resource pages:

ItemPrice
Domain check (Domain search)Free
DomainIts yearly registration price, shown before you buy
Hosted app, any type$0.01 per day
Database, storage and server routes (fullstack)$0.33 per day, about $9.90 per 30 days
Each deploy or redeploy$0.10
Connecting a domainFree

A worked month for a static site: 30 days of hosting ($0.30) plus ten deploys as ChatGPT iterates on the copy ($1.00) is $1.30, plus the domain's yearly price. The ChatGPT subscription is billed by OpenAI separately.

Creating apps, deploying and buying domains need a funded workspace: a first top-up of $10 or more. The $1 of free credit on a new key covers checks and setup, not hosting.

Safety: Ask me first

Two things in this flow spend money: buying the domain and deploying. Naive puts the bigger one behind a person.

  • Buying a domain asks first. The Buy a domain rule (domain.buy) defaults to always ask. The purchase is held until an owner or admin approves it under Approvals in the developer console; change rules in Settings → Ask me first. Without approvals: "wait", the SDK throws an ApprovalRequiredError with the pending approval so your code can show it. Over MCP a held call answers pending_approval with an approve_url. See the approvals docs and how to add human approval to an AI agent.
  • A ceiling on the price. The live price is checked again right before buying. A premium name, or a price above max_price_micro_usd, is refused.
  • No card in the loop. The domain is paid from your Naive balance, and automatic renewal is off.
  • Deploys are visible. Every call, from ChatGPT, Codex, the CLI or the SDK, shows up in the console's logs with the surface it came from.

What are the limits?

  • App counts. 10 apps per workspace, 3 of them fullstack; 20 app creates and 50 deploys in any 24 hours.
  • Deploy size. 5,000 files, 4 MiB per file, 100 MiB per deploy.
  • Domains. Premium names are refused and automatic renewal is off, so renew deliberately.
  • ChatGPT plans. Actions through a custom connector need Business, Enterprise or Edu. Everyone else deploys from Codex, the CLI or the SDK, or uses Claude.

When not to use Naive

  • You only need a preview. If the page is for you to look at, Canvas is free and instant. Hosting and a domain are overkill.
  • You build in chat and already own the domain. ChatGPT Sites publishes it and connects your domain, included with Plus and Pro.
  • You already have a deploy pipeline. If your team ships from CI to an existing host, paste ChatGPT's code into the repo and keep that pipeline. Naive earns its place when an agent should do the whole path itself, domain and approvals included.
  • You need a large backend. fullstack apps are sized for sites, dashboards and small products with one managed database each. Heavy compute belongs on infrastructure you run.
  • You need a premium domain or registrar extras. Premium names are refused by design.

Ship ChatGPT's site

Every action and price for hosting is on the App and Domain resource pages, and the whole platform is on Naive for developers. For the same flow driven entirely from chat, read Let Claude deploy a website to your own domain.

Put it online. Get a key with $1 free credit, no card, top up $10 when you are ready to host, or hand your agent this line: set up https://usenaive.ai/developers/skill.md.

FAQ

Can ChatGPT deploy a website by itself?
Yes. ChatGPT Sites, on Plus, Pro, Business and Enterprise plans, builds a site, publishes it to a URL and can connect a domain you already own through DNS records. It cannot register a domain, and it deploys from inside ChatGPT, not from a script, a CLI or another agent. For that path, Codex (OpenAI's coding agent), the naive CLI or the Naive SDK buys the domain after approval, deploys the files to a Naive app and connects the domain.
Can ChatGPT Sites use a domain I don't own yet?
No. ChatGPT Sites connects a custom domain you already own; it does not register domains. Buy the domain at a registrar first, or let an agent buy it through Naive with a price ceiling and a person's approval.
What is the difference between ChatGPT Sites and Naive?
ChatGPT Sites is hosting inside ChatGPT, included with Plus and Pro, for sites you build in chat. Naive is pay-as-you-go hosting and domains for agents: an API key, CLI, SDK and MCP server, so Codex, Claude or your own script can buy a domain, deploy and connect it, with approvals and one audit log.
Can I add Naive to ChatGPT as a connector?
Yes, on a ChatGPT Business, Enterprise or Edu workspace: open Plugins, select Add, then Add custom MCP server, paste https://mcp.usenaive.ai/v1/mcp and choose OAuth. Pro accounts connect read-only and Plus and Free do not support custom MCP servers yet. In a developer workspace ChatGPT gets the tool catalog plus inbox and approval reads, not app deploys, so deploy from Codex, the CLI or the SDK.
How much does it cost to host a site ChatGPT built?
A hosted app is $0.01 per day, so a static site is about $0.30 a month. Each deploy is $0.10. A full-stack app with its own Postgres database adds $0.33 a day. The domain costs its registration price, which the free quote shows before you buy.
Can the agent buy the domain too?
Yes, from the SDK or CLI. It quotes the name for free, then buys with a maximum price it will not exceed. By default the purchase waits for an owner or admin to approve it in the Naive console, and it is paid from your Naive balance.
Can I use a domain I already own?
Yes. Connect it as an external domain, add the DNS records Naive returns at your registrar, and verify. A domain bought through Naive skips that step because Naive publishes its records.