top of page

Grow your business with Symphony

Launch your blog with our powerful AI

How to host a website you built with ChatGPT

Sharon Hafuta

November 18

2 days ago
11 min read

Got the files ChatGPT made for you? Put them online in seconds. Upload your site →


How to host a website you built with ChatGPT

If you built a website with ChatGPT, hosting it means putting it on a platform that serves it at a live URL. How you do that depends on what ChatGPT gave you.


If you have code from a chat or a Codex project, that code needs a hosting provider before anyone can visit it. If ChatGPT already published it for you, check that its hosting covers everything your site needs.


Ready to put your ChatGPT site online? Upload the HTML, CSS and JavaScript files or the ZIP file ChatGPT gave you and get a live website with a shareable URL. No server setup needed. Add bookings, ecommerce, payments and CMS whenever you're ready.




TL;DR: how to host a website you built with ChatGPT


To host a website built with ChatGPT, save it as HTML, CSS and JavaScript and upload those to a web host. For bookings, ecommerce or a CMS, connect it to Wix Headless, or build a new one with the Wix plugin in ChatGPT.


You'll learn:


  • The three things ChatGPT might have given you

  • What ChatGPT Sites offers and when to host elsewhere

  • How to get complete, hostable files out of ChatGPT

  • Three ways to host your ChatGPT website with Wix

  • How to create and manage a Wix site from ChatGPT

  • Common problems when a ChatGPT build goes live



host your ChatGPT site


What building a website on ChatGPT actually means



The three things ChatGPT might have given you


There are three versions of this and they lead to different places:


  • You may have a ChatGPT Site, which is already published and live at its own URL.


  • You may have code that ChatGPT wrote in the chat, which is just text until you save it as files and put it on a host.


  • Or you may have a project built with Codex, a folder of source files that may need a build step before it’s ready to upload.



Why the starting point matters


The middle case is the most common because the site looks finished on screen but does nothing until it’s hosted. A block of HTML in a chat window isn’t a website yet, and it’s a very different thing from what a website builder produces.


Work out which of the three you have before you do anything else. A ChatGPT Site is already hosted, so the question is whether it meets your needs. Chat code needs a host, and a Codex project may need a build step before you can deploy it.


Understand the basics: What is a headless website


Built in a different tool? There's a companion guide on how to host a website you built with Claude.



If your site is already on ChatGPT Sites


ChatGPT Sites is a hosting option in its own right: a published Site is live at its own URL. It’s designed for lightweight sites and apps, though, so it may not be enough for a business site that needs native ecommerce, bookings or a CMS, or full control over where it’s hosted.



Who can use ChatGPT Sites


Sites is available on ChatGPT Plus and Pro, and in Business and Enterprise workspaces, where admin settings decide who can use it. It isn’t available on the Free or Go plans. In Enterprise workspaces, public publishing is off until an admin turns it on.


Building or editing a Site counts toward your Codex usage, while hosting, traffic and storage are measured separately. Hosting is currently included with Plus and Pro, but usage and storage limits apply across all your Sites, and each Site’s database can store up to 10 GB.



Custom domains and payments


You can connect a custom domain where the feature is available, including on workspace Sites. Sites doesn’t register domains, so you need to own one already and add the DNS records Sites gives you at your domain provider.


You can take payments through a third-party payment processor, but you connect, configure and maintain it yourself, and you’re responsible for fulfillment, refunds, customer support and taxes. Some frameworks, databases and background services aren’t supported by the Sites runtime.



Moving a ChatGPT Site somewhere else


To host your Site elsewhere, ask Codex to export the Site’s source code. Database records and uploaded files aren’t included in that export, so plan to move that data separately.


Read also:



How to get your website files out of ChatGPT



Ask for the complete site as a ZIP file


Ask ChatGPT for every file the site needs, not just the HTML. A prompt like this works for single-page and multipage sites:


“Give me the complete website as downloadable files, including the HTML, CSS, JavaScript, images and any other assets it needs. Make sure the homepage is named index.html, all file paths are relative and the site works as a static website without a server. Package everything into a ZIP file.”


For a simple one-page site, you can also ask for a single HTML file with the CSS and JavaScript inline. Fewer files means fewer references that can break once the site leaves the chat window.



Save everything it references


If your site spans several files, save all of them into one folder and keep the structure ChatGPT assumed. A stylesheet that was described in the chat but never saved is a common reason a downloaded site shows up as unstyled text.



Build a Codex project before you upload


A Codex project usually holds source code. If it uses a framework such as React or Vite, run its build command and upload the output folder, often called dist, rather than the source files. The upload serves files exactly as they are and doesn’t build them.



Know what the upload accepts


Your main HTML file needs to be at the top level of the upload. If you have more than one HTML file, name your homepage index.html so Wix can identify it. You can upload HTML, CSS, JavaScript, images, fonts, video, audio, PDF and data files and other supported assets.


The upload limit is 20 MB per file and 20 MB in total. The drag-and-drop uploader publishes static files only, so server-side code, API routes and server-rendered templates won’t run. If your project has a build step, upload the resulting files rather than the original source code.


Good to know: this drag-and-drop path needs no server setup and no backend code because it publishes static files only. Other Wix Headless setups, such as deploying with the Wix CLI, can run a backend alongside your frontend.



drag and drop deploy


Three ways to host your ChatGPT website with Wix


Hosting makes your site reachable. Business features are a separate layer: a CMS manages content, ecommerce handles products, orders and checkout, bookings handle appointments and payments let customers pay. Wix Headless can host your files and connect those features when you need them.



Drag and drop your files


This is the most beginner-friendly option. Upload the folder or ZIP file and the site goes live on a Wix URL within seconds, with hosting, SSL and the CDN set up for you.


You can upload and preview the live site before signing in, but you need a Wix account to keep it. Connecting a custom domain and accepting live payments need a Premium plan.




Hand it to an AI coding agent


This suits a Codex project or another code-based build. Point your coding agent, such as Codex, Cursor or VS Code, at wix.com/headless/skill.md and tell it to connect your project. It scaffolds and deploys without you editing a config by hand.


For ongoing work, install the Wix plugin in your coding tool. It bundles Wix Skills, which give the agent instructions for building with Wix, and the Wix MCP, which gives it access to Wix documentation, APIs and site management tools.



Deploy from the command line


This option is for developers who want to work on the project on their own computer. The Wix CLI previews the site locally and releases it when you’re ready, and unlike drag and drop, it can also deploy a backend alongside your frontend.


Ran Levi, Developer Advocate, Wix


“The hardest part of shipping something real has never been the frontend. Anyone can build a beautiful UI fast now. The wall people hit is always the same: payments, bookings, a CMS that actually works. Wix Headless knocks that wall down. You connect your frontend to the infrastructure millions of businesses already run on, in one prompt. You're not a backend engineer, you're just shipping.”


Wix-managed or self-managed hosting


Wix-managed headless means Wix handles all hosting, CDN, SSL and scaling automatically. Self-managed headless means you host the frontend on your own infrastructure and connect to Wix business data through the API.


Both paths connect to the same complete Wix business backend. The choice comes down to how much control you want over your hosting environment, not what backend features you can access.




Create a website with Wix directly in ChatGPT


If you’d rather not handle code at all, you can create a Wix site inside a ChatGPT conversation. Connect the Wix plugin, tag @wix and describe the site you want. ChatGPT creates a Wix Harmony site that you can preview in the chat and keep editing in the Wix Harmony Editor with Aria, Wix’s AI assistant.


The plugin can also help you get a domain and connect Wix business solutions, such as an online store or bookings, as you build.



Wix Harmony or Wix Headless?


These are two different ways to work. Wix Harmony gives you a Wix site you edit visually in the Wix Harmony Editor. Wix Headless keeps the custom code ChatGPT wrote and connects it to Wix hosting and business tools, while design changes happen in your code or AI tool.


Pick Harmony if you want to edit visually, and Headless if you want to keep the code you already have.



Connect the Wix plugin in ChatGPT


Click Plugins in the ChatGPT sidebar, search for Wix and open the Wix plugin, then follow the prompts to connect your Wix account. You only do this once.


Wix plugin in ChatGPT

The Wix plugin page in ChatGPT, with example prompts for building a site and the Open plugin button.


To put it to work, tag @wix in your prompt. Without the tag, ChatGPT replies as usual and doesn’t act on your Wix account.



Manage your Wix site from ChatGPT with the Wix plugin


Once your site is on Wix, whether you uploaded it or created it in ChatGPT, you can keep managing it from the chat. The Wix plugin uses the Wix MCP (Model Context Protocol), an open standard that lets an AI tool connect to other services, to link ChatGPT to your Wix account.


It works on your Wix sites. It doesn’t move, convert or manage a ChatGPT Site.



What to ask once it’s connected


Describe the change in plain words and your AI tool handles it. For example, you can ask:


  • “Write a new blog post about our summer sale”

  • “Add a booking service for a 30-minute consultation”

  • “Add a new product called Blue Mug, priced at $25”


Some changes only appear on your live site after you publish. If you don’t see one, ask your AI tool: “Publish the site.”



Use the Wix MCP in Codex or Cursor


Coding agents get the Wix MCP through the Wix plugin too. In Cursor, type /add-plugin wix in the AI chat, or install Wix from the Cursor marketplace.


In Codex, run codex plugin marketplace add wix/skills in a terminal, then type /plugins in the Codex CLI, select Wix and choose Install Plugin. The first time the agent uses a Wix tool, you sign in to your Wix account in your browser, once.


Worth knowing: the Wix Headless skill (wix.com/headless/skill.md) and the Wix MCP do different jobs. The skill is a set of instructions you paste into a prompt to build and deploy a project, with nothing to install. The Wix MCP is a lasting connection to your Wix account that your AI tool can use in every chat.




Common problems when hosting a ChatGPT website


Most problems after an upload come from a handful of causes, and none of them means ChatGPT built the site wrong. Telling ChatGPT where the site will be hosted before you ask for the files is one extra line in your prompt, and it prevents most of them.



Broken file paths


A page that points at images or scripts by where they sit on your computer works in your browser and fails everywhere else. Relative paths fix it, and ChatGPT will rewrite them if you say where the site is going to live.



Features that need a server


API routes, server-side rendering and database calls never run on a static deploy, so the page loads and the interactive parts sit there doing nothing. Assets pulled from outside sources fail the same way if that source blocks hotlinking.



The wrong file structure


An entry file that isn’t named index.html, or one sitting in a subfolder instead of at the top level, stops the site from loading. It’s a two-second fix that looks like a catastrophic one.



Missing dependencies


If the project relies on outside libraries or packages, they need to be part of the build output or loaded from a working link, or parts of the page won’t run.



Forms, logins and bookings that don’t respond


These features can look finished and do nothing. A contact form needs a service to receive submissions, and a booking feature needs a system that stores appointments, which is the job a backend such as Wix Headless does.



Hosting a ChatGPT website FAQ:


Can ChatGPT host a website?

Yes, through ChatGPT Sites, which is available on ChatGPT Plus and Pro and in Business and Enterprise workspaces. A published Site is live at its own URL, within usage and storage limits. Code that ChatGPT writes in a chat isn’t hosted anywhere until you upload it to a host.

It depends on the host. ChatGPT Sites hosting is currently included with Plus and Pro. Wix Headless is free to start, and a Premium plan is needed for features such as connecting a custom domain and accepting live payments. Other hosts set their own plans.

Yes. Wix Headless drag and drop hosts static files on a live Wix URL with SSL at no cost. You can upload without an account, but you need a free Wix account to keep the site. ChatGPT Sites isn’t available on the Free or Go plans.

Yes. ChatGPT Sites supports custom domains where the feature is available, as long as you already own the domain and can edit its DNS records. On Wix, you can connect a domain you own or get a new one, and connecting a domain needs a Premium plan.

Yes. Code from a chat or a Codex project is a set of files, so you can upload it to any host that serves static sites. For a ChatGPT Site, ask Codex to export the source code. Database records and uploaded files aren’t part of that export, so move that data separately.

You can take payments through a third-party payment processor, which you connect, configure and maintain yourself. You’re also responsible for fulfillment, refunds, customer support and taxes. Wix Headless gives you native ecommerce, payments and order management, so you don’t have to build those systems, and you manage products and orders from your Wix dashboard.

No. Uploading a folder of files is drag and drop, and an AI coding agent can connect a project for you from a single prompt. If you’d rather skip code entirely, you can create a new Wix site in ChatGPT with the Wix plugin.

No. Uploading your static files keeps the design and code ChatGPT produced, and Wix hosts them. Features that relied on a server, such as forms or logins, won’t work until you connect them to a backend service, such as Wix business solutions. Design changes still happen in your code or your AI tool.

layout.jpg

See what Symphony can do for your business

Try now

Group 2147239633.png

Discover websites built on Wix

explore website ideas
explore website ideas
explore website ideas
explore website ideas
explore website ideas
explore website ideas
explore website ideas
explore website ideas
explore website ideas
explore website ideas
explore website ideas
explore website ideas
explore website ideas
explore website ideas
explore website ideas
explore website ideas

Start with
Symphony for free

Try now

Build your site with a free template

Find the perfect domain for your site

bottom of page