Custom Domains
Use your own domain for your app: add it, point its nameservers to Nexlayer, verify, and deploy.
Your app gets a URL that Nexlayer creates, like your-app.cloud.nexlayer.ai. It can't be changed.
Unlimited custom domains. Here's how to connect one.
Connect your domain
- 1
Add your domain
In the dashboard, open Domains and click Add domain. Enter the domain you own, like
myapp.com. - 2
Point your nameservers to Nexlayer
Where you bought the domain, replace its nameservers with these two:
ns1.nexlayer.ains2.nexlayer.aiAt any registrar- Sign in where you bought the domain.
- Open the domain's settings and find Nameservers.
- Choose to use your own, often called Custom or Custom DNS.
- Remove the nameservers that are there and add the two above.
- Save.
Nexlayer then manages the domain's DNS, so note any records you have today (like email) before you switch.
- 3
Verify
Back in the dashboard, click Verify DNS. The domain shows Active once the change has gone through, which can take a while depending on where you bought it.
- 4
Deploy to your domain
Ask your agent: “Deploy my app to myapp.com.” Or add
urlto yournexlayer.yamland deploy:application: name: my-app url: myapp.com # your domain pods: - name: web image: my-app:latest path: / servicePorts: [3000]HTTPS is set up for you automatically.
Or let your agent do it
Your coding agent runs the same steps through the Nexlayer MCP or the CLI. Here's what it gets back. The one thing only you can do is change the nameservers where you bought the domain. Responses are shortened.
You: “Connect myapp.com to my app.”
# Domain Added to Profile Domain: myapp.com Status: Domain successfully added to your Nexlayer profile! ## Next Steps 1. Add Nexlayer Name Servers to your domain at your domain registrar: - Name Server 1: ns1.nexlayer.ai - Name Server 2: ns2.nexlayer.ai 2. Wait for DNS propagation 3. Verify the configuration by calling nexlayer_verify_name_servers_configuration
Your agent asks you to set those two nameservers where you bought the domain, then waits for you.
You: “Done, I changed them.”
# Name Servers Verification Domain: myapp.com Status: Nameservers verified and domain marked as verified! ## Your domain is ready! Add the domain to your nexlayer.yaml and deploy.
If it says Nexlayer nameservers not found, the change hasn't gone through yet. Your agent checks again a bit later.
You: “Deploy it to myapp.com.”
→ deploying my-app → verifying my-app ## ✓ Working — my-app https://myapp.com
Your agent adds url: myapp.com to nexlayer.yaml and ships. HTTPS is set up automatically.