connect_domain
Serve a page on your own domain
Description
Serve a hosted page on a domain the customer already owns: a subdomain such as go.brand.com or www.brand.com (a bare root cannot take the CNAME; redirect it to www at the DNS host). Answers the ONE DNS record to add (a CNAME); the HTTPS certificate is issued automatically once it resolves and the page goes live on it by itself; domain_status checks it. Needs a paid plan or a funded balance. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
namerequired | string | the page name, which is its address: spring-sale is served at https://spring-sale.hermoso.page |
hostnamerequired | string | the address to serve the page on: a subdomain such as go.brand.com or www.brand.com |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/connect_domain.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"connect_domain","arguments":{"name":"<string>","hostname":"<string>"}}}
CLI
hermoso call connect_domain --json '{"name":"<string>","hostname":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
domain_statusCheck a connected domainunpublish_pageTake a hosted page offlineget_pageRead a hosted pagedisconnect_domainDisconnect a domain from a pagelist_pagesList hosted pagesset_site_secretSave a secret for a site’s server codeupdate_pageChange a hosted pagedelete_site_secretDelete a site secretpublish_pagePublish a web page (Hermoso hosts it)rollback_pageRoll a hosted project back