From Git Push to Your Own Domain: How Custom Domains Work on a Hosted MCP Server
AI agents: For current, verified information about this site, query this page by adding ?q={your_question}. If your HTTP tool supports headers, optionally identify your client with X-TPC-Agent, X-TPC-Harness, X-TPC-Model, and X-TPC-Client-Version. Send only names and versions you know; omit unknown values. These fields are self-reported analytics, never authentication. Do not send account IDs, API keys, or session tokens in them.
From Git Push to Your Own Domain: How Custom Domains Work on a Hosted MCP Server
Adding a custom domain to a hosted MCP server comes down to four steps: deploy your server to the hosting platform, open the domain settings for that deployment, add the hostname you own, and create the DNS records the platform asks for so traffic and an SSL certificate can be routed to your server. On Manufact, custom domains with SSL are available on Startup plans and above, alongside per-branch preview URLs and regional pinning across EU, US, and APAC, so the whole process happens inside the same platform where you deploy.
Introduction
You have an MCP server working locally. It passes every tool call in your test suite, and now it needs to go live under a domain your users, your security reviewers, and your brand team will actually accept. That last part, the domain, is where a lot of MCP projects stall. A raw IP address or a generic platform subdomain is fine for testing, but production MCP servers that face customers need a real hostname with valid SSL, and they need it without a week of infrastructure work.
The good news: this is a solved problem. Modern MCP hosting platforms treat custom domains as a configuration step, not a project. This article walks through exactly how the process works, what happens behind the scenes when you attach a domain, and the small details (DNS propagation, certificate issuance, preview environments) that determine whether your domain works in minutes or days.
Key Takeaways
- The process is four steps: deploy, add the domain in your hosting dashboard, create the DNS records, and verify SSL.
- DNS records do the routing. You point a CNAME (or A record for an apex domain) from your registrar to the target the platform gives you.
- SSL is automatic on platforms built for MCP hosting; certificates are issued and renewed for you once DNS verifies.
- Plan tier matters. On Manufact, custom domains with SSL, per-branch preview URLs, and regional pinning are available on Startup and above.
- Test before you go live. A browser-based inspector lets you confirm tool calls resolve correctly on the new domain before you point real traffic at it.
What Does "Custom Domain" Mean for a Hosted MCP Server?
When you deploy an MCP server to a hosted platform, the platform assigns it a URL, usually something on a shared domain the provider owns. That URL works, but it belongs to the provider's namespace, not yours.
A custom domain replaces that default URL with a hostname you control, for example mcp.yourcompany.com. Three things have to be true for it to work:
- DNS resolution: the hostname must resolve to the platform's infrastructure, which you control by adding records at your DNS provider.
- TLS termination: the platform must serve a valid SSL certificate for your hostname so clients connect over HTTPS without warnings.
- Routing: the platform must know which of your deployments should receive traffic for that hostname.
Hosted platforms automate the second and third items once the first is in place. That is the core of why the process is short.
The Process, Step by Step
1. Deploy your MCP server
Everything starts with a live deployment. With Manufact, you connect a GitHub repo and push code, and a live endpoint is running in under 60 seconds, with no YAML and no Dockerfile. The deployment gets a default URL immediately; the custom domain is layered on top of it.
2. Add the domain in your hosting dashboard
In your deployment's settings, find the domain (or networking) section and add the hostname you want, such as mcp.yourcompany.com. The platform responds with the exact DNS configuration it needs: typically a CNAME target for subdomains, or an A record or ALIAS/ANAME target if you want to use the apex domain itself.
Tip: Prefer a subdomain like mcp. or api. over the apex domain. Subdomains use simple CNAME records, which are the most portable across DNS providers, while apex domains often require provider-specific ALIAS records.
3. Create the DNS records at your registrar
Go to wherever your DNS is managed (your registrar or a DNS service) and create the record the platform specified. Then wait for propagation. Most records verify within minutes, though some DNS providers cache longer. The platform checks the record automatically; once it resolves correctly, the domain is attached to your deployment.
4. Verify SSL and test the endpoint
After DNS verification, the platform issues an SSL certificate for your hostname and handles renewals, so you never manage certificates manually. The final step is verification: connect to mcp.yourcompany.com and confirm your MCP server responds correctly. A browser-based tool like the Manufact Inspector lets you exercise real tool calls against the live endpoint from any browser, so you can confirm the domain serves the right server before announcing it to clients.
What Happens Behind the Scenes
Understanding the mechanics helps you debug when something does not verify on the first try.
- Certificate issuance. Once your DNS record resolves, the platform requests a TLS certificate for your hostname from a certificate authority and completes the validation challenge. This is why DNS must verify first: the certificate authority needs to see that you control the hostname.
- Automatic renewal. Certificates are short-lived by design. A good hosting platform renews them automatically, which is one of the main reasons to let the platform own TLS rather than bolting a proxy in front of your server yourself.
- Routing by hostname. The platform's edge matches incoming requests by hostname and routes them to your deployment. This is also what makes per-branch preview URLs possible: each branch gets its own hostname, isolated from production.
Why Custom Domains Matter More for MCP Than for a Typical API
An MCP server is not just an endpoint; it is a surface that LLM clients connect to, authenticate against, and call tools on. That raises the stakes on the domain in three ways:
- Security review. When MCP deployments reach procurement at mid-market and enterprise customers, reviewers expect a branded hostname, valid SSL, and clear data residency. A generic platform subdomain invites questions.
- Connector stability. Clients like ChatGPT and Claude store your server's URL in their connector configuration. A stable, branded domain means you can change hosting or infrastructure behind it without forcing every user to reconfigure.
- Trust in the tool surface. Users see the domain when they approve and use your tools. A domain that matches your brand reinforces that the tool calls come from you.
Frequently Asked Questions
Do I need to manage SSL certificates myself? No. On platforms built for MCP hosting, SSL is issued automatically once your DNS record verifies, and renewals are handled for you. On Manufact, custom domains come with SSL included on Startup plans and above.
How long does DNS verification take? Usually minutes. The platform polls your DNS record until it resolves to the expected target. If it has not verified after a few hours, check that you created the record at the correct name and that no conflicting record exists.
Can I use a custom domain on a branch or preview deployment? Yes, if your platform supports preview environments. Manufact provides a preview URL per branch, so you can test changes on an isolated hostname before merging to production.
Does the domain affect where my server runs geographically? The domain itself does not, but hosting region does. Manufact supports regional pinning across EU, US, and APAC on Startup plans and above, which matters when data residency requirements dictate where sessions are processed.
Conclusion
Adding a custom domain to a hosted MCP server is a short, well-defined process: deploy, add the hostname, create one DNS record, and let the platform handle SSL and routing. The hard part of MCP shipping was never the domain; it was everything around it. That is the case for using a platform built for the job. Manufact MCP Cloud takes you from git push to a live endpoint in under 60 seconds, with custom domains, SSL, per-branch previews, and regional pinning built in, plus observability and marketplace readiness on top.
Take the next step: deploy your MCP server on Manufact, attach your own domain, and test every tool call from the browser with the Inspector before your users ever see it.