Move a ChatGPT Site to Your Own Hosting (Keep the Domain)
Move a ChatGPT Site to a host you choose: collect every file, check it, upload it, replace what only Sites can run and switch your domain's DNS.
Short answer
Collect the complete files first: from the project folder on your computer, or by asking ChatGPT in the Site's chat for every page, stylesheet, script and image. Check them locally, upload them to the new host and test the new address. Then replace the DNS records you created for Sites with the new host's records. Data the Site stored inside Sites, Sign in with ChatGPT and connected apps do not move with the files.
Moving a ChatGPT Site?
Upload the files ChatGPT gives you, check the site on its new address, then point your domain at it. SSL is automatic. 14 days free, no card.
You built a Site with ChatGPT, maybe put it on your own domain, and now you want it somewhere else: with a host in Europe, with a test stage before changes go live, with a database or background service Sites may not support, or simply next to your other sites. This guide moves it without giving up the domain. It takes six steps: collect the files, check them, upload them, replace the parts that only work inside Sites, switch the DNS, and retire the old address. Everything below works from the chat that built the Site and the files ChatGPT gives you.
If you want to stay on ChatGPT and only need your domain on the Site, you do not have to move: the ChatGPT Sites custom domain guide covers Add domain and the DNS problems that keep a domain pending. If you are still choosing between the two homes, host a website made with ChatGPT compares them point by point.
What a move changes, and what it leaves alone
Three facts make the rest of the guide easier to follow:
- Your domain stays yours. It is registered at your registrar, not at OpenAI. Moving the site changes which server the domain's records point to, nothing about who owns the name, and nothing about the email records next to them.
- The Site URL stays with Sites. The address ChatGPT generated at your first deploy lives on OpenAI's domain and cannot come along. Your own domain is the address that travels.
- The Site is untouched until you decide. Uploading a copy elsewhere does nothing to the Site. Keep it running until the new host answers on your domain, and retire it on your own schedule.
What moves with the files, and what stays behind
A Site is more than its pages. The table lists each part, where it lives on ChatGPT Sites according to OpenAI's help article and developer guide, and what takes its place on AI-Hosted, powered by VibeDeploy.
| Part of the Site | On ChatGPT Sites | After the move to AI-Hosted |
|---|---|---|
| Pages, styles, scripts, images | Site code that ChatGPT builds and deploys for you | The same files, uploaded by you or sent by ChatGPT, with a copy on your own computer |
| The address | The Site URL generated at your first deploy | An ai-hosted.com address at once, then your own domain |
| Domain records | The values Sites lists after you choose Add domain | One TXT record that proves ownership and one routing record, both listed in the dashboard |
| Stored records and uploads | D1 (database) and R2 (file storage) inside Sites, with no data residency at launch | Not part of the files: a database container next to the site, or the forms relay for contact forms |
| Secrets and environment values | Entered in the Site's settings | Entered again under the site's Settings > Secrets, where container services read them |
| Sign in with ChatGPT | Available on Sites | Open outside Sites only to selected partners for now |
| Connected-app access | Business and Enterprise workspaces, on Sites that are private to the workspace | No equivalent; that access stays with Sites |
| Visitor statistics | Built-in Site analytics | Built-in analytics that start counting on the new address |
| Earlier versions | Saved versions kept inside Sites | Each new deploy kept as a version you can restore in one click (3 days on the trial, Solo and Maker, 7 on Studio) |
| Who can open it | Owner and admins, invited people who sign in, the workspace, or anyone once public publishing is on | Anyone by default; a password or personal email invitations on Maker and up |
The first three rows are mechanical. The middle rows are where moves go wrong, so step 4 deals with them one at a time.
Step 1: Collect every file
Where the files are depends on how you made the Site.
From a project folder on your computer. In the ChatGPT desktop app you can start a Site from a compatible local project. Sites then links that folder to its hosting and records the link in a file called .openai/. The source is already on your disk, and that folder is what you move.
In Work on ChatGPT web. Then the code lives with the Site, and the chat is your way to it. Open the chat where you created the Site, or open Sites in the sidebar, find the Site and select its edit icon; the message box opens with the Site already referenced. Then ask for everything at once:
Give me the complete source of this Site as separate files: every page, every stylesheet and script, and every image, icon and font it uses, with the folder structure and exact file names. Also tell me which parts read or write stored data or depend on Sites features such as Sign in with ChatGPT.
If ChatGPT offers the result as a file to download, take it. If it answers with code blocks, create a folder on your computer and save each block under the file name ChatGPT gives it. The second half of the prompt matters as much as the first: its answer is your list for step 4.
Step 2: Check the folder before you upload
A missing image is far easier to spot in a folder on your desk than after the domain has moved. Five checks catch nearly every gap:
- Pages. Open the live Site and note every page you can reach from the menu, the footer and the buttons. Each needs a file in the folder, such as
index.htmlfor the home page andpricing.htmlorpricing/for a pricing page.index.html - Assets. Open
index.htmlstraight from the folder in your browser and click through. A broken picture, a font that falls back to plain text or a missing icon means a file is absent or a path is wrong. Ask ChatGPT for the missing file by name. - The old address. Search all files for the Site URL ChatGPT gave you. Absolute links to it still work today but tie the new site to the old one; change them to relative links such as
contact.html. - Code that only runs on Sites. Search for
signin-with-chatgpt,signout-with-chatgptandoai-authenticated-user. Those are the sign-in paths and identity headers Sites itself provides, so they do nothing on another host. Code that talks to D1 or R2 belongs in the same group. Note every hit for step 4. - A build step. If the folder contains a
package.json, it is a project that still has to be built. Runnpm installandnpm run build, then use thedistorbuildfolder they produce. AI-Hosted refuses an unbuilt project, because nothing in it can be opened by a browser yet.
Step 3: Upload the site, or let ChatGPT send it
Start the 14-day trial, no card needed, and drop in the ZIP, the folder or, for a one-page site, the single HTML file. A moment later the site is live at an address on ai-hosted.com. Open that address on your phone and on a laptop before you go any further: this is the cheapest moment to find a problem, because your domain still points at Sites and your visitors still see the original.
Two other routes get the files there without the upload:
- The deploy guide. In the dashboard, Copy Magic File gives you an instruction sheet for your AI. Paste it into the ChatGPT conversation, and ChatGPT either sends the files itself or gives you a deploy page to open in your browser. The sheet carries a private deploy key, so paste it only into your own chat.
- An MCP connection. If your ChatGPT plan lets you add a custom MCP server with write access, or you also work in Claude, Cursor or Codex, connect the VibeDeploy MCP server once. Your AI can then deploy, edit and check the site as a built-in tool, which also matters for step 4.
Step 4: Replace what only worked inside Sites
Go through the notes from steps 1 and 2. A Site built as a landing page, a portfolio or a menu often has none of this, and you can go straight to the domain.
Contact forms. A form that saved entries in the Site's own storage needs a new destination. AI-Hosted's forms relay emails every submission to you, with no form service to sign up for. An AI connected over MCP switches it on with the set_forms_config tool and points the form at it; the relay has no dashboard screen yet.
Stored data. Records in D1 and files in R2 belong to the Site, not to the code ChatGPT gave you. If they matter, get a copy before the Site is gone: ask ChatGPT in the Site's chat how to export them, and open the result to check it. On AI-Hosted, static sites and single-page apps are served directly. A site can also run containers next to it (your own server, Postgres, MySQL, Redis or workers; up to 6 services with 2 CPU and 2 GiB in total), deployed by your AI through the MCP tool deploy_app and isolated with gVisor. Container data is not yet included in snapshots, so keep your own database exports.
Sign-in. Sign in with ChatGPT works on Sites, and OpenAI describes it as available elsewhere only to selected partners through a limited trial. If the sign-in only kept strangers out, a site password or personal invitations may replace it once you have tested them on your own domain; how to password-protect a website built with AI compares the options. If visitors need real accounts, ask your AI to build sign-in into a server that runs in a container.
Secrets. API keys and other secret values never belong in the chat or in the files. Add them in the dashboard under the site's Settings > Secrets, where container services read them.
Connected apps. A Site that reads each visitor's own connected apps relies on ChatGPT workspace features that no outside host has. If that is the heart of the Site, read the section on staying below before you go further.
Moving a ChatGPT Site?
Upload the files ChatGPT gives you, check the site on its new address, then point your domain at it. SSL is automatic. 14 days free, no card.
Step 5: Point your domain at the new host
Add the domain to the site in the AI-Hosted dashboard; the trial includes linking one. The dashboard then lists two records. The first is a TXT record named _vibedeploy. followed by your domain, which proves you own it. The second is the routing record: a CNAME for a subdomain such as www.example.com, and for the bare domain an ALIAS or ANAME record, or an A record if your DNS provider offers neither.
Switch over in this order, so visitors never meet a dead address:
- A day ahead, shorten the TTL of the records you created for Sites to a few minutes, so resolvers that cached them ask again sooner.
- Create the TXT record. It changes nothing for visitors and lets verification pass later.
- Swap the routing record. Delete the records you added for Sites and create the one from the dashboard. MX, SPF and other email records stay exactly as they are.
- Verify. As soon as a DNS lookup returns the new value, click Verify in the dashboard. HTTPS is configured automatically after verification, with a certificate from Let's Encrypt.
- Test both names. Open the bare domain and the
wwwversion in a private window. The dashboard can make one lead to the other.
DNS caches empty at different speeds, so for a while some visitors still reach the Site on ChatGPT while others reach the new host. That overlap does no harm as long as both are up, which is why the Site stays published until the last step.
Step 6: Update your links, then retire the Site
Your domain now leads to the new host, but the Site URL ChatGPT generated is still printed on things: social profiles, email signatures, QR codes, documents and the links you sent to clients. Replace every one you control with your own domain. From now on, your domain is the only address you hand out.
Then retire the Site. OpenAI gives you two ways. To keep it but close it, open its Share settings and limit access to yourself or a few people. To remove it, use Delete site, and know that OpenAI is explicit about the result: "Deleting a site permanently removes it, and you cannot restore deleted sites." Delete only once you have every file, every record you care about and a working site on your domain.
When staying on ChatGPT Sites is the better choice
A move is not always an upgrade. Stay where you are when:
- The Site is a workspace tool that reads connected apps. Inside Sites, each visitor's own accounts and permissions apply, and that per-visitor access does not exist on an outside host.
- Your audience already signs in with ChatGPT. Sites can limit a Site to people you invite, who sign in with the invited account, and it can use Sign in with ChatGPT for features tied to a person.
- Several colleagues edit it together. In a workspace the owner can give members Can edit access, and they publish later versions themselves.
- All you were missing was your domain. Add it to the Site instead, with the ChatGPT Sites custom domain guide.
What it costs after the move
The 14-day trial needs no card and includes one site and one custom domain. After that, Solo costs EUR 4 a month (EUR 38 a year) for one site with its domain, Maker EUR 15 a month for three sites with password-protected and invite-only sites, and Studio EUR 39 a month for ten sites with a testing copy you check before it goes live. Prices include VAT where it applies, and the pricing page lists every limit per plan. For the whole path from an upload to a site that runs for years, read how AI-hosted websites work.
Sources
- OpenAI Help Center, Creating and using ChatGPT Sites: plans, editing from the Sites list, sharing options, connected apps, taking a Site down, deletion, data residency and unsupported uses. Fetched 13 October 2026.
- OpenAI, ChatGPT Sites developer guide: local projects and
.openai/, saved versions, built-in analytics, D1 and R2 storage, environment variables and secrets, and the Sign in with ChatGPT paths and headers. Fetched 13 October 2026.hosting.json - OpenAI Help Center, Sign in with ChatGPT, and OpenAI Developers, Sign in with ChatGPT on your website: available on ChatGPT Sites, otherwise limited to selected partners. Fetched 13 October 2026.
Put your AI-built site on a real domain
AI-Hosted, powered by VibeDeploy, runs your AI-built website on European infrastructure with a custom domain, automatic SSL, forms and analytics. The 14-day trial needs no card.
Questions people ask
How do I move my ChatGPT Site to another host?
Get the complete files, either from the project folder on your computer or by asking ChatGPT in the Site's chat for every page, stylesheet, script and image. Check them on your computer, upload them to the new host and test the new address. Then swap the domain records you created for Sites for the new host's records, and retire the Site once your domain answers from the new host.
Can I keep my custom domain when I move a ChatGPT Site?
Yes. The domain is registered to you at your registrar, not at OpenAI, so moving only means replacing the DNS records that point it at Sites with the records your new host gives you. The registration and your email records stay as they are.
Does the data in my ChatGPT Site move with the code?
No. Records and uploads that a Site keeps in D1 or R2 live inside Sites, not in the files ChatGPT gives you, so copy what you need before you retire the Site. On AI-Hosted, contact forms can use the forms relay, and your AI can run Postgres or MySQL in a container next to the site. Container data is not yet included in snapshots.
Will Sign in with ChatGPT keep working on my own host?
Not by default. OpenAI offers Sign in with ChatGPT on Sites and, elsewhere, only to selected partners through a limited trial. If the sign-in only kept strangers out, a site password or personal invitations may replace it once you have tested them on your own domain; if visitors need real accounts, build sign-in into a server that runs in a container.
Should I delete my ChatGPT Site after moving?
Only when the new site works on your domain and you have every file and record you need, because OpenAI says deleted Sites cannot be restored. Until then you can keep the Site but limit who can open it from its Share settings.
What does hosting the moved site cost?
Nothing during the 14-day trial, which needs no card and includes one site with your own domain. After that, Solo is EUR 4 a month, Maker EUR 15 with password-protected and invite-only sites, and Studio EUR 39 with a testing copy. Prices include VAT where it applies.
Related reading
Publish a Website You Built in ChatGPT Without Plus
ChatGPT Sites needs Plus, Pro or a workspace plan. On ChatGPT Free or Go, take the files out of the chat, upload them and add your own domain with SSL.
ChatGPT Sites Custom Domain: Setup and DNS Fixes
How to add a custom domain to ChatGPT Sites with Add domain, which DNS records to copy, what to fix when it won't verify, and when to host it yourself.
Host a Website Made With ChatGPT: From Chat to Live Domain
ChatGPT Sites vs your own host: what Sites offers on Plus, Pro and workspace plans, and how to put a ChatGPT-built site on your own domain on any plan.
Password-Protect a Website Built With AI
What ChatGPT Sites, Claude, Gemini, Lovable and Bolt offer for private sharing, why a JavaScript password prompt protects nothing, and what does.