Add a custom domain
Point your own domain at a service, verify its DNS, and choose whether the ghaym.app address stays open.
All pages
- Open the website, press ⌘K and choose Settings › Bind a domain. Type the hostname, such as
shop.example.com, and press Enter.The domain binds at once, to the service in production.
A service in any open site can take a custom domain. You don't name a country when you bind it.
With the CLI:
Terminalghaym cloud domains add web shop.example.com - At your DNS provider, add the two records the domain shows under DNS records: a CNAME from your hostname to the service's address, and a TXT record at
_ghaym-verify.shop.example.comthat proves the domain is yours.With the CLI:
Terminalghaym cloud domains list web
Ghaym checks the records on its own. The domain reads Checking until it finds them, then Running, and Check failed when a record is missing or wrong. To check at once, press ⌘K and choose Settings › Verify now.
ghaym cloud domains verify web <domain-id>Once your domain runs, the service can answer on it alone. Press ⌘K, choose Settings › Access › ghaym.app address to turn it Off, and apply the change. Until a domain runs, the row reads Bind a domain first to turn it off. See access for what else the service's access can do.
ghaym cloud access set web --reach custom-domain --apply