Documentation
Custom Domains
Point your own domain to edge.nebuacloud.com and attach it to an application.
Custom Domains
Every application gets a NebuaCloud address. To serve it on your own domain instead, point the domain's DNS to NebuaCloud, then add the domain to the application. HTTPS certificates are issued automatically once the DNS is in place.
Where to point your domain
NebuaCloud serves custom domains through its edge servers:
| Edge host name | IP addresses |
|---|---|
edge.nebuacloud.com | 212.73.150.102 and 2.29.159.228 |
Create the records at the DNS provider where your domain is managed (your registrar, Cloudflare, Route 53, and so on). If you bought the domain in Business > Domains, manage its DNS there.
Subdomain (for example www.example.com or app.example.com)
Add a CNAME record:
| Type | Name | Value |
|---|---|---|
| CNAME | www | edge.nebuacloud.com |
A CNAME is the recommended option: if NebuaCloud's edge addresses change, your domain follows automatically.
Root domain (for example example.com)
Most DNS providers do not allow a CNAME on the root of a domain. Add two A records instead, one per edge server:
| Type | Name | Value |
|---|---|---|
| A | @ | 212.73.150.102 |
| A | @ | 2.29.159.228 |
If your provider supports ALIAS, ANAME or CNAME flattening on the root (Cloudflare does), you can point the root to edge.nebuacloud.com that way instead.
Remove conflicting records
- Delete every other A and AAAA record for the same name. NebuaCloud only accepts a domain when all of its addresses belong to NebuaCloud; one leftover record pointing to your old host makes the check fail, and some visitors would still reach the old server.
- Cloudflare users: set the record to DNS only (grey cloud). With the proxy on (orange cloud), the domain resolves to Cloudflare's addresses and NebuaCloud cannot verify it or issue its certificate.
Add the domain to your application
- Open Sidebar > Essentials > Applications and click your application.
- Open Domains (in the Overview tab, or the Domains section for applications with several services) and enter your domain, for example
www.example.com. - Confirm. NebuaCloud checks that the domain points to its edge servers, then routes it to your application and requests the HTTPS certificate.
To serve both example.com and www.example.com, create the DNS records for both names and add each domain.
Checking your DNS
DNS changes can take from a few minutes to a few hours to propagate, depending on the record's TTL. You can check what a name resolves to with:
dig +short www.example.com
# edge.nebuacloud.com.
# 212.73.150.102
# 2.29.159.228
Every address in the answer must be one of NebuaCloud's edge IPs. Lowering the TTL (for example to 300 seconds) before you switch makes future changes take effect faster.
Troubleshooting
- "Domain name not pointing to nebua servers!" – the domain does not resolve yet, or it still has a record pointing somewhere else. Check the records above with
dig, remove the leftovers, wait for propagation, and try again. - "Could not look up the DNS … right now" – the DNS lookup itself failed. Wait a moment and retry.
- "Domain name is already taken!" – the domain is already attached to another application. Remove it there first.
- The domain loads but the certificate is invalid – the certificate is issued after the first request reaches NebuaCloud; give it a minute. If it persists, make sure the Cloudflare proxy is off and no AAAA record points elsewhere.
Domains behind your own gateway
Domains with a path (for example example.com/app) are served by your environment's gateway, not by NebuaCloud's edge. Point those to your gateway host instead; see Nebua Gateway.