Domini

serve()

domain.serve({ name, pages }) → Promise<Served>

Fa un nome d'host realmente servir: scrive il record e registra il nome con la piattaforma che risponde. Ambas metàs, insieme.

both halvespages from servers()a record alone is not enough
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

const servers = await api.domains.servers();

const served = await domain.serve({ name: "docs", pages: servers[0].name });
// { hostname, target, project, status, certificate, note }
servers = api.domains.servers()

served = domain.serve(name="docs", pages=servers[0]["name"])
# {"hostname", "target", "project", "status", "certificate", "note"}
namestringobrigatório

Il nome host, in rapporto alla zona — docs, www.

pagesstringobrigatório

Lo che lo servirà, da servitori().

Por què è un appello

Un record DNS non fa che un nome d'host serve ningun

La piattaforma d'altre estrems deve riconoscere il nome, o il suo bordo nega la connezione — che l'escrivi ca un apagn. Scrivendo il record solo è l'errore que il appell existe per prevenire.

Il certificate dure un moment

certificate torna come suo stato. Fino a che il connecttion è attiva falls — a attente, non un defecto. Verificalo prima di dire a qualcuno l'indirizzo funcionà.

Per un host creata qui, usa il host

host.domains.attach() é aquele para algo hospedado em IaGenify. Este é para servir un nome de algo diferente sobre o compte.

Disfalo

unserve() elimina entrambe le metàs — l'inregistrazione e l'archive.