pagehaus

Guides

Publish a website ChatGPT or Claude made

You asked an AI assistant for a website and it gave you HTML. It looks right in the preview, but it isn't online yet: to share it, the file needs a home on the web. Here's how to do that in a few minutes, and how to let the assistant publish its own changes from then on.

1. Get the files out of the chat

What the assistant made is a web page written in HTML, usually one file with the styles and scripts inside it.

Open index.html in your browser to check it looks the same as in the chat.

2. Put it online

  1. Create a free Pagehaus site. The name you pick becomes its address, for example https://yoursite.pagehaus.site/.
  2. On your site's Files tab, drag your index.html (or the folder, or the .zip) onto the page. It replaces the starter page.
  3. Open your address. That's it: the page is live, with HTTPS, and you can share the link.

To change a word later, edit the file right on the Files tab, with a live preview. Every change is saved in version history, so you can always go back.

3. Or let the assistant publish it for you

Pagehaus works with AI assistants through MCP, the standard way to connect them to other services. Once connected, you can say "put this page on my Pagehaus site" or "change the opening hours on my site" and the assistant writes the files itself, with no copying and pasting.

You choose whether the assistant can use all your sites or just one, and you can disconnect it at any time. The steps for each app are in Connect an AI assistant.

Things the AI might have added that need a server

Your own domain

On a Personal or Pro plan, add a domain like yourbakery.com under the Domains tab and set the DNS records it shows. HTTPS is set up automatically. See custom domains.