Skip to main content

Configure a Custom Gateway Domain

This tutorial shows where to start custom-domain setup for a Willow MCP gateway.

Use this when you want users to connect through your organization's own domain instead of a Willow branded .mcp-s.com domain.

Prerequisites

You need:

  • admin access to Willow
  • a deployed Willow gateway
  • a domain your organization controls
  • access to whoever manages DNS for that domain

Step 1: Open Gateway Settings

  1. In the admin dashboard, open Admin.
  2. Open Settings.
  3. Find Gateway Settings.

Gateway Settings lists the gateways configured for your organization.

Willow Gateway Settings showing an existing mcp-s.com gateway and the Add Gateway button

Step 2: Add a gateway

  1. Select Add Gateway.
  2. Choose Custom Domain.
  3. Enter the domain you want to use.
  4. Select Add Gateway to confirm.

The same modal also supports Willow branded domain and External Run Service. Use Custom Domain when the gateway should be reachable from a domain your organization owns.

Add Gateway modal with Custom Domain selected and a domain input field

Step 3: Configure a CNAME record in your domain registrar

Willow shows you the exact record to add. In your domain registrar's DNS settings, create a CNAME record with the values from the DNS Configuration panel:

Willow DNS Configuration panel showing the CNAME record name and value to add
FieldValue
TypeCNAME
Name / Hostyour domain, e.g. yourdomain.com
Value / Targetgateway.mcp-s.com
TTLAutomatic or 3600

The Name field is the domain you entered when adding the gateway. Some registrars ask for just the subdomain prefix (e.g. mcp) rather than the full domain: enter whichever format your registrar expects.

Step-by-step instructions for the most common registrars:

For other registrars, the process is the same: find the DNS or Name Servers section, add a new record, set the type to CNAME, enter your domain as the host (or just the subdomain prefix if your registrar uses that format), and set gateway.mcp-s.com as the target value.

Step 4: Wait for DNS to propagate

DNS changes are not instant. After saving the CNAME record, it can take anywhere from a few minutes to 48 hours to propagate globally, depending on your registrar and TTL setting.

While DNS is propagating, the gateway will show a Pending status in Gateway Settings. Once propagation is complete and Willow detects the record, the status changes to active. Return to Gateway Settings to confirm, then connect an AI client using the new domain and verify the tool call appears under Monitor > Logs.

Willow Gateway Settings showing a custom domain gateway in Pending status with Set as Dashboard and Set as Default options

From Gateway Settings, you can choose what role the custom domain plays:

  • Set as dashboard domain: the custom domain becomes the URL used to access the Willow admin dashboard.
  • Set as default gateway: the custom domain becomes the primary MCP endpoint that users connect to.
  • Leave as secondary gateway: the custom domain works alongside your existing .mcp-s.com domain. Users can connect through either URL.

Next steps