pagehive

verify_site_domain

Check a domain's DNS after the owner created the records: the TXT record, and that every A and AAAA answer is Pagehive.

Custom domainsChanges dataBasic and up

What it does

Check a domain's DNS after the owner created the records: the TXT record, and that every A and AAAA answer is Pagehive. Passing makes it active and the site is served on it at once (a primary domain also takes over from the pagehive.space address, which redirects there). Failing returns error with what is missing; DNS changes can take minutes, so wait and try again rather than in a loop.

Plans

Needs a paid plan: Basic, Pro or Ultra. On other plans your agent gets an error that says so. See Limits for what each plan includes.

Parameters

NameTypeAbout
site_idrequiredstringThe id of the site. list_sites gives the ids of your sites.
domain_idrequiredstringThe id of the domain, from list_site_domains.

Example

Call verify_site_domain with these arguments:

{
  "site_id": "01a1…",
  "domain_id": "01a1…"
}

Ids like 01a1… stand for your own. list_sites and list_tables give you the real ones.

Related guides