pagehaus

Guides

Publish a website you made in Gemini Canvas

Gemini's Canvas can build a web page and preview it next to the chat. Its share link lets people see it on Gemini, but Google doesn't host it as a website of your own. To get a real address, or your own domain, the code needs a home. It takes a few minutes.

1. Get the code

  1. In the Canvas panel, switch from the preview to the code and copy all of it. Gemini's labels change from time to time; look for a code view or a copy button at the top of the panel.
  2. Paste it into a plain text editor (Notepad on Windows; TextEdit on a Mac after Format → Make Plain Text) and save it as index.html.
  3. Open index.html in your browser to check it looks like the preview.

If the page doesn't open on its own, ask Gemini for a version that does:

Give me this as one complete plain HTML file, with the CSS and JavaScript inside, that works when I open it in a browser: no React, no build step and no server code.

2. Put it online

  1. Create a free Pagehaus site. Its name becomes the address, like https://yoursite.pagehaus.site/.
  2. On the site's Files tab, drag in index.html. It replaces the starter page.
  3. Open your address: it's live, with HTTPS.

3. Keep it up to date

Edit text right on the Files tab, or paste the file back into Gemini, ask for the change, and upload the new file. Earlier versions are kept in version history if you ever want one back.

Before you share it

Something broken once it's online? See why an AI-made website works on your computer but not online.

Your own domain

On a Personal or Pro plan, connect an address like yourclub.org under the Domains tab; HTTPS is set up for you. See custom domains.