Build Notes · Case study: circularsurrealism.com

Grok Build publish guide: custom domain, GitHub backup, and recovering a lost preview

Publish a Grok Build app, connect a custom domain, export to GitHub, fix a publish stuck on Deploying, and recover a lost preview. From a real build.

These are the steps used to put circularsurrealism.com online with Grok Build, and the problems that came up along the way. The site was built in one conversation over about 8 weeks and 396 prompts. Screens and button names can change as Grok Build updates; the order of operations is what matters.

The three pieces you own

Keep these apart in your head:

  1. The domain name. Yours as long as you renew it at your registrar.
  2. The live site. That is the publish. It stays up through Grok Build.
  3. The files. Yours once they are exported to GitHub.

The domain alone is not the website. The website alone is not your name. You want all three.

Domain, live site and files: the three pieces of an AI-built website you should own
Domain, live site and files: the three pieces of an AI-built website you should own

Step 1: Publish your Grok Build app first

Publish the site so it exists on its grok.me address before anything else. That published app is what your domain will point to. Do not try to attach a domain to a project that has never been published.

Publish in chapters: when a group of pages is right, publish. You do not need a final version.

Grok Build publish stuck on "Deploying" or failing?

What caused it in the case study, and what fixed it:

If the preview has something the live site does not, the publish did not finish.

86 videos (about 120 MB) stuck on Deploying; 25 files (about 34 MB) published
86 videos (about 120 MB) stuck on Deploying; 25 files (about 34 MB) published

Prompt:

Prompt
Before I publish, tell me how many files and MB this publish adds, and remove anything the site does not use (old screenshots, leftover builds).

Step 2: Connect a custom domain you already own

Grok Build does not sell domains. Buy one at any registrar (the case study used Namecheap), then:

  1. Open the Publish / project sheet (the one with the URL, access and cover).
  2. Choose custom domain.
  3. Type your domain exactly, for example yourname.com.
  4. Grok Build shows you DNS records, usually a CNAME or an A record. Copy them.
  5. At your registrar, open the DNS settings for the domain, paste the records, save.
  6. Wait. It can take minutes or a few hours. "Not Secure" in the address bar at this stage only means the security certificate is still being issued.

After that, every Publish updates your domain. You do not redo DNS.

The builder shows DNS records, you paste them at the registrar, wait for the padlock, and redirect www
The builder shows DNS records, you paste them at the registrar, wait for the padlock, and redirect www

Why www doesn't work (and the fix)

In the case study, the bare domain worked before www did. The domain had been entered without www, so only the bare domain got a certificate; www is a second hostname. The fix was a redirect at the registrar from www to https://yourdomain.com/. Share the bare domain everywhere; the redirect is the safety net.

Step 3: Export your Grok Build project to GitHub (do this early)

Export is not the live site. It is a copy of all the files in a GitHub repository you own. GitHub is free.

  1. Make a free account at github.com.
  2. In the same project, open the Publish / project menu.
  3. Choose Export to GitHub, sign in, and allow it to create a repository.
  4. Name it something you will recognize. Private is fine for a backup.
  5. Export again whenever a chapter is done, so the backup is not months behind.

If you are on a phone and cannot find the button, open the same account on a computer. The Publish sheet is easier to see there.

Step 4: Lost the preview? Restore from the live site, don't start over

Early in this build (2 to 4 September), the preview was lost. After a session that added themes, the preview would not load, and then the editing workspace had been wiped. The live domain was still up. The builder started rebuilding, and the rebuild came back missing features (sold marks, marketplace connections, whole sections). About $5 of credits went into that before the approach changed.

The first instinct is to rebuild from a blank chat. Do not. The published site is the source of truth.

Lost preview: point the builder at the live URL, compare page by page, keep building
Lost preview: point the builder at the live URL, compare page by page, keep building
Prompt
This is my live site: [your URL]. Restore the preview from it, keep every page, text and setting as it is live, compare every page and tell me what is missing before you change anything.

Then reconnect the domain if needed (the name does not vanish because a conversation did), and export to GitHub as soon as the preview is back.

Watch for: during the recovery in the case study, empty media addresses made pages hang. Ask the builder to check for empty image and video links after a restore.

Step 5: One site, one conversation

Keep every edit for one site in one thread. Edits stack, and connections you already set (domain, data sources) stay. A different site gets a new conversation. Mixing a side project into the main thread risks the main site.

FAQ

Does Grok Build sell domains?

No. You buy the domain from a registrar and paste the DNS records Grok Build shows you into the registrar's DNS settings.

How long does a custom domain take to connect?

In this build it was minutes to a few hours. Until the certificate is issued, the browser may show "Not Secure".

Is Export to GitHub the same as publishing?

No. Publishing puts the site live. Export copies the files to a repository you own, as a backup.

Go further

The full build, with every step from the first prompt to a fast, finished site, is written up in The House Guide. Quick Start covers exactly this part (foundation, performance, publishing, recovery) in 39 lessons.

The guides

Build your own high-end site with AI

Quick Start

$19

  • 7 modules, 39 written lessons
  • 55-page PDF + EPUB
  • Planning and content, the full performance module, publish, domain, backup, launch review
  • Prompt library (18 prompts)
  • 30-day refund
Get Quick Start

Performance Checklist

Free

  • 12-item checklist
  • The full 7-lesson performance module
  • 13-page PDF
Get the free checklist

Written guides, no coding needed, works with any AI website builder.

Built with Grok. The case-study site was built with Grok Build by xAI. This article and the guides are independent and are not made, endorsed or sponsored by xAI.