Guide ·

How to publish a website made with ChatGPT

ChatGPT is good at writing websites. Ask it for a landing page for your bakery or a page for your side project, and a minute later you have HTML, CSS and maybe some JavaScript. Then comes the question the chat does not answer: how do I put this on the internet?

This guide goes through it step by step. No hosting account, no FTP, no terminal full of commands.

What you need

  • the website files from ChatGPT;
  • Codex, OpenAI's coding agent. It comes with every ChatGPT plan, signs in with your ChatGPT account and works with files on your computer;
  • an aiput.site account.

Why Codex and not the chat itself? Publishing means taking files from your computer and sending them to a server. The ChatGPT chat in your browser has neither your files nor a way to connect to aiput.site with your personal key. Codex has both: it works in a folder on your computer and connects to outside services over MCP.

Step 1. Put the files in one folder

If ChatGPT gave you the code in the chat, ask it:

Give me the whole website as a ZIP file to download.

Unpack the archive into a new folder, for example my-site on your desktop.

Check one thing: the main page must be called index.html and sit at the top of the folder. Pictures and styles can live in subfolders.

No site yet? Skip this step and ask Codex to build it right in the empty folder.

Step 2. Open Codex in that folder

Codex works in the ChatGPT desktop app, in the terminal and in code editors such as VS Code; on the free ChatGPT plan, only in the desktop app. Open it in the my-site folder so that it can see the files.

Step 3. Connect Codex to aiput.site

Sign in at aiput.site with Google or with a code sent to your email, and choose a plan. Your dashboard shows a block of text with a Copy button. Copy it and paste it into the chat with Codex as it is.

The text contains the server address and your personal key. Codex adds aiput.site to its settings and checks the connection. It will most likely ask you to restart it: agents read their list of tools when a session starts. Restart Codex, open the same folder again and continue.

Step 4. Ask it to publish

Say it in plain words:

Publish this website.

Codex creates a site on aiput.site, uploads the files and gives you a link. The site is online at that address with HTTPS, and you can send the link to anyone.

Changing the site later

Ask Codex for the change directly — "make the headline bigger and add our phone number" — or bring new files from ChatGPT into the folder. Then say "update the website". Every update is a new version, and the previous ones stay: if you do not like the result, ask Codex to roll back.

If something goes wrong

  • Codex does not see the aiput tools. Restart it once more after pasting the message. The tools appear in a new session.
  • The upload is refused. Codex shows the reason and can usually fix it itself. Most often it is a file the service does not accept, such as a video or a PDF, or a missing index.html at the top of the folder.
  • Images do not show up online. The page probably points to files somewhere else on your computer. Ask Codex to check that every image path is relative to the site folder.

More about the connection itself: connect Claude Code, Codex or Cursor to aiput.site.

Your AI agent made a website? Let it publish it. Plans start at €7 a month, and the first 14 days are free, no card needed.

Get started
← All posts