pagehaus

Guides

Put a website ChatGPT made online

ChatGPT can write a whole website, but it can't host it. Sharing the chat only shows people the conversation, not a website at its own address. To get a real site that anyone can open, the code needs a home on the web. It takes a few minutes, and it can be free.

1. Ask for the right kind of website

Websites made of plain HTML, CSS and JavaScript go online as they are. Some answers come as a React component or a project that needs building, which is more work to publish. If you haven't started yet, or ChatGPT gave you something you can't open, ask for this:

Make it a plain HTML website: one index.html file with the CSS and JavaScript inside, no React, no build tools and no server code. Give me the complete file.

For a site with several pages, ask for each page as its own complete file, with the menu linking them by name (about.html, contact.html).

2. Get the files out of the chat

Open index.html in your browser. If it looks like it did in ChatGPT, it's ready.

3. Put it online

  1. Create a free Pagehaus site. The name you choose becomes its address, like https://yoursite.pagehaus.site/.
  2. On the site's Files tab, drag in your index.html, the folder, or the .zip. It replaces the starter page.
  3. Open your address. The website is live, with HTTPS, and you can send the link to anyone.

No files on your computer? Open index.html on the Files tab, select everything in it and paste ChatGPT's code over it, then save.

4. Change it later

5. Before you share it

A few things ChatGPT often adds that won't work on a website as they are:

Something broken once it's online? See why an AI-made website works on your computer but not online, with the fix for each symptom.

Your own domain

On a Personal or Pro plan, connect an address like yourbakery.com under the Domains tab; HTTPS is set up for you. See custom domains. Made your site with Claude instead? The steps are in publish a website ChatGPT or Claude made.