# Hermoso: connect_domain: Serve a page · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/connect_domain/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/) / connect_domain

# `connect_domain`

Serve a page on your own domain

Area: LAUNCH PAGES · [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## 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

`name` required `string` the page name, which is its address: spring-sale is served at https://spring-sale.hermoso.page

`hostname` required `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](https://hermoso.ai/docs/credits/).

## Related tools

- [domain_status](https://hermoso.ai/docs/reference/publish/domain_status/) Check a connected domain
- [unpublish_page](https://hermoso.ai/docs/reference/publish/unpublish_page/) Take a hosted page offline
- [get_page](https://hermoso.ai/docs/reference/publish/get_page/) Read a hosted page
- [disconnect_domain](https://hermoso.ai/docs/reference/publish/disconnect_domain/) Disconnect a domain from a page
- [list_pages](https://hermoso.ai/docs/reference/publish/list_pages/) List hosted pages
- [set_site_secret](https://hermoso.ai/docs/reference/publish/set_site_secret/) Save a secret for a site’s server code
- [update_page](https://hermoso.ai/docs/reference/publish/update_page/) Change a hosted page
- [delete_site_secret](https://hermoso.ai/docs/reference/publish/delete_site_secret/) Delete a site secret
- [publish_page](https://hermoso.ai/docs/reference/publish/publish_page/) Publish a web page (Hermoso hosts it)
- [rollback_page](https://hermoso.ai/docs/reference/publish/rollback_page/) Roll a hosted project back

[All 728 Publishing & scheduling tools](https://hermoso.ai/docs/reference/publish/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
