mcp.example.com.
Using a custom domain gives you a stable endpoint that’s independent of the default 0mcp domain.
Connect a custom domain
To configure a custom domain:- Open your server and go to Settings.
- Under Custom Domain, enter the hostname you want to use, such as
mcp.example.com. - Copy the DNS record generated by 0mcp.
- Add the record to your DNS provider.
- Wait for domain verification and TLS provisioning to complete.
- Once the domain becomes Active, update your MCP client to use the new endpoint.
DNS requirements
When configuring your domain:- Enter only the hostname, such as
mcp.example.com. - Do not include
https://, paths, or query parameters. - Ensure the DNS record matches the value provided by 0mcp.
- During verification, keep the record unproxied if instructed by the dashboard.
DNS propagation and certificate issuance may take a few minutes depending on your DNS provider.
Best practices
- Use one hostname for each MCP server.
- Choose a stable hostname that won’t need to change.
- Update your client configuration after the domain becomes active.
- Remove old or conflicting DNS records before reconnecting the same hostname.
Troubleshooting
If your domain doesn’t become active:- Verify the DNS record exactly matches the value provided by 0mcp.
- Make sure the hostname isn’t already connected to another server.
- Confirm you’re using a hostname rather than a full URL.
- Allow time for DNS propagation and certificate provisioning to complete.