lookupDomain

Function

Fetch a the information about a domain. Different implementation for Portal vs AGO

Parameters

Parameter Type Default Notes
hostname Required string

of domain record to locate

hubRequestOptions Required IHubRequestOptions

Returns

Promise<IDomainEntry | {
hostname:
string
siteId:
string
}
>

Function defined in common/src/sites/domains/lookup-domain.ts:13