Help center

Set up DNS for your own domain on a ChatGPT Site

What each DNS record does, how to type it at any provider, how to check it and how to fix a domain that stays pending.

Before you begin

  • You own the domain and can sign in to its DNS provider.
  • Your Site is built with ChatGPT Sites. Enterprise workspaces can’t use custom domains yet.
  • If your main domain already shows another website, use a subdomain such as shop.yourbrand.com. New records for a subdomain don’t touch the existing site.
No DNS at all? Publish the page with AhaGPT for a ready-made address name.ahagpt.com: how it works.

1. Add the domain in Site settings

Open Site settings → Add domain. You can enter a root domain (yourbrand.com) or a subdomain (www.yourbrand.com, shop.yourbrand.com).

2. Understand the three records

For www.yourbrand.com the Site asks for:

TypeHostValueWhy
CNAMEwwwcustom-domains.chatgpt.siteSends visitors to ChatGPT Sites.
TXT_openai-site-verification.wwwcode from your SiteProves to OpenAI that you own the domain.
TXT_cf-custom-hostname.wwwcode from your SiteProves it to Cloudflare, which delivers the Site’s traffic and HTTPS.

For a root domain the first record may be a different type, because many providers don’t allow a CNAME at the root. Always use exactly the type and value the Site shows.

3. Type the Host correctly

Most providers add your domain to the end of whatever you type, so enter only the prefix:

Full nameType in the Host box
www.yourbrand.comwww
_openai-site-verification.www.yourbrand.com_openai-site-verification.www
_cf-custom-hostname.www.yourbrand.com_cf-custom-hostname.www
yourbrand.com itself@ (or leave empty if your provider says so)
  • If a record already exists on the same Host (for example an old www A record), delete it first. A CNAME can’t share its name with other records.
  • Paste TXT values without extra spaces or quotation marks.
  • Leave TTL at the default.

4. Check the records

Use a public DNS lookup such as dns.google, or a terminal:

nslookup -type=CNAME www.yourbrand.com 1.1.1.1
nslookup -type=TXT _openai-site-verification.www.yourbrand.com 1.1.1.1

When all three answers match what the Site showed, refresh the domain status in Site settings. Usually that is minutes; a few providers are slower.

If the domain stays pending

The Site still opens at its chatgpt.site address, but the domain won’t verify. Check these in order:

  1. Domain typed twice. A lookup for www.yourbrand.com.yourbrand.com finds your record. Change the Host to just www.
  2. An old record on the same Host. Delete it, then add the CNAME again.
  3. A code is cut off. Copy each TXT value again and compare it character by character with what the lookup returns.
  4. Cloudflare proxy is on (orange cloud). Public lookups then show Cloudflare IPs instead of your CNAME. Switch the record to “DNS only”.
  5. The Site issued new codes. If everything is right and you have waited, remove only that domain in Site settings, add it again and update the TXT records whose codes changed.

The same domain on AhaGPT

On AhaGPT Pro, attaching your own domain takes one CNAME record and no TXT codes: ask your AI “connect www.yourbrand.com to my site” and it shows the exact record. HTTPS is automatic. Details in Your own domain.