Publish
Custom Domain
Connect a custom domain to your published Capacity app: the DNS records to create at your DNS host, and an SSL certificate issued and renewed for you.
A published app has an address ending in capacity.studio. A custom domain puts it on a name you own, such as myproject.com or app.myproject.com. The SSL certificate is issued and renewed automatically, at no extra cost.
Before you start
- A domain you own, and access to its DNS records (at your registrar or DNS host).
- A paid Capacity plan. Without one the panel shows Upgrade to add custom domains.
- A published project. An unpublished one shows Publish your project first.
Step 1: Publish your app
Click Publish in the top bar of your project and wait for Your app is live!
Step 2: Add your domain in Capacity
- Open the project menu (the project's name, top left), choose Settings, then Domains. The same panel is in the Publish tab, under Domains.
- Type your domain (
myproject.comorapp.myproject.com) and click Connect. - The domain appears in the list as Pending, with the line Add these DNS records to verify your domain and the exact records to create.
Step 3: What the panel asks for
The records depend on the kind of project and on whether you connect a root domain (myproject.com) or a subdomain (app.myproject.com).
A website
One record:
| Type | Name | Value |
|---|---|---|
CNAME | Your domain | Your app's capacity.studio address |
The panel may add a verification record under it. Create it too.
Some DNS hosts refuse a CNAME on a root domain. If yours does, connect www.myproject.com and redirect the root to it at your DNS host, or move your DNS to a host that supports CNAME flattening, such as Cloudflare.
An app with its own server, root domain
Three records:
| Type | Name | Value |
|---|---|---|
A | @ | An IPv4 address |
AAAA | @ | An IPv6 address |
CNAME | _acme-challenge | A validation target |
The A and AAAA records send visitors to your app. The _acme-challenge record is what lets the certificate be issued and renewed.
An app with its own server, subdomain
Two records:
| Type | Name | Value |
|---|---|---|
CNAME | app (your subdomain) | Your app's host name |
CNAME | _acme-challenge.app | A validation target |
An app hosted in Europe
One CNAME record. A root domain cannot be connected to an app hosted in Europe: use a subdomain such as www.
Step 4: Create the records at your DNS host
Open your DNS host's record editor and add each record the Domains panel shows. The screens differ from one host to the next; the common ones follow.
Cloudflare
- Log in → select your domain → DNS → Records.
- Click Add record for each line shown in Capacity.
- Type: matches Capacity (A, AAAA, or CNAME).
- Name: as shown (
@for apex, the subdomain otherwise). - IPv4 address / IPv6 address / Target: paste from Capacity.
- Proxy status: set to DNS only (gray cloud). The orange/proxied cloud will break SSL validation.
- TTL: Auto.
Namecheap
- Domain List → select your domain → Advanced DNS.
- Add New Record for each one.
- Type: A Record / AAAA Record / CNAME Record.
- Host:
@for apex, the subdomain otherwise (for_acme-challenge.myproject.com, enter_acme-challenge). - Value: paste from Capacity.
- TTL: Automatic.
GoDaddy
- My Products → find your domain → DNS.
- Add a record for each one.
- Type: A, AAAA, or CNAME.
- Name:
@for apex, the subdomain otherwise. - Value: paste from Capacity.
- TTL: 1 hour.
Porkbun
- Domain Management → Details → DNS Records → Add.
- Type: A / AAAA / CNAME.
- Subdomain: leave blank for apex, otherwise enter the subdomain.
- Answer: paste from Capacity.
- TTL: 600.
Hover
- Click your domain → DNS tab → Add New.
- Type: A / AAAA / CNAME.
- Hostname: blank or
@for apex, otherwise the subdomain. - Target Host / IP: paste from Capacity.
Wix
Wix is one of the trickier providers: please read this section carefully.
Use the right Wix flow. Wix has two flows that sound similar but do different things:
- ❌ "Connect a Domain to a Wix Site": assumes Wix is hosting. This will NOT work for Capacity.
- ✅ "Manage DNS Records" / "Edit DNS": lets you add your own A, AAAA, and CNAME records. This is the one you want.
To get there: Domains → Manage → Advanced → DNS Records → Edit DNS.
Watch out for these Wix gotchas:
- The free / "Connect Domain" plan blocks external DNS. On Wix Free and the basic "Connect Domain" tier, the DNS editor is read-only or silently strips A records that don't point to Wix. You'll need either:
- A Wix Premium plan that includes full DNS management, or
- (Cleaner option) move your domain's nameservers to a free DNS host like Cloudflare and manage DNS there instead. Your domain stays registered at Wix; only DNS hosting changes.
- Existing CNAME at
@. Wix sometimes pre-populates a CNAME at the root: delete it before adding our A record, or DNS won't resolve correctly. - "Range / CIDR" prompts. If Wix asks for an IP range or CIDR block, that's the wrong field: paste the single IPv4 from your Domains panel into the standard A-record value field. We do not publish a range or CIDR.
Google Domains (now Squarespace)
- Select your domain → DNS in the sidebar.
- Scroll to Custom resource records.
- Add one row per record from Capacity.
- Type: A / AAAA / CNAME, TTL: 3600, Data: paste from Capacity.
Other Providers
The general pattern works anywhere:
- Find your DNS / nameservers / advanced DNS section.
- Add each record exactly as shown in Capacity:
- Type: as listed (A, AAAA, or CNAME)
- Name / Host:
@for the apex; the subdomain otherwise (use the literal_acme-challenge.<subdomain>for the SSL validation record) - Value / Target / Points to: paste from Capacity
- TTL: 3600 (or auto)
- Save.
Stuck on a host that is not listed? Send a screenshot of its DNS editor through the Help chat on capacity.so and we will say what goes where.
Step 5: Wait for verification
Most domains verify within 15 minutes. DNS changes can take up to 24 hours to reach everyone.
- Your DNS host publishes the records.
- Capacity detects them.
- The SSL certificate is issued.
- The domain goes from Pending to Verified.
The Domains list checks again every 30 seconds while a domain is pending. You can leave the panel open.
Step 6: Test your domain
Once your domain shows Verified:
- Open it in a browser.
- Confirm HTTPS is active (lock icon, no warnings).
- Click through a few pages to make sure routing works.
Troubleshooting
Domain still "Pending" after an hour
- Double-check every record matches the Domains panel exactly. The
_acme-challengerecord is the one most commonly missed or mistyped. - Make sure you didn't add the records to a different DNS host than the one your nameservers actually point to (common with Wix, Squarespace, and GoDaddy when a domain has been migrated).
- If you're on Cloudflare, make sure the records are DNS only (gray cloud). Proxied (orange) breaks SSL validation.
- Run a public DNS check like
dig,nslookup, or dnschecker.org to confirm your records are visible from outside your network.
"My DNS provider asks for an IP range or CIDR"
We don't have one. Paste the single IPv4 from your Domains panel into the standard A-record value field. If your provider literally won't accept a single IP, move the domain's DNS to Cloudflare (free) and configure it there.
Domain works but shows "Not secure" / no padlock
SSL is still being provisioned. Wait 1–5 minutes after the domain flips to Verified. If it stays insecure after 15 minutes, confirm the _acme-challenge CNAME is in place: that record is what allows us to issue the certificate.
"Domain already connected to another project"
The domain is attached to another Capacity project, yours or someone else's. Remove it there first, or contact support if you think this is a mistake.
"This domain is reserved"
Capacity's own addresses cannot be used as a custom domain. Use a domain you own.
"CNAME not allowed at root"
Some DNS hosts do not allow a CNAME on a root domain. For an app with its own server the panel gives A and AAAA records for the root, so this does not arise. For a website, connect www and redirect the root to it, or move your DNS to a host with CNAME flattening.
Best Practices
- Pick
wwwor the root and stick with it. Capacity does not redirect one to the other: set that redirect at your DNS provider, or connect both. - Keep TTL reasonable. 1 hour (3600 seconds) is a good default.
- Don't proxy through Cloudflare's orange cloud until your domain is fully verified. You can re-enable proxying later if you understand the implications.
- Don't change records mid-verification. If you've just added a record, give it 15 minutes before tweaking: premature changes can extend the wait by hours.
Advanced
Multiple domains on one project
You can attach several domains (myproject.com and www.myproject.com, for example) to the same project. Add each one in the Domains panel and create its records. The capacity.studio address keeps working alongside them.
Subdomains
Connect any subdomain (blog.myproject.com, dashboard.myproject.com) by adding it as a new domain in the panel, then create the records it shows.
Moving DNS to Cloudflare (recommended for stuck providers)
If your DNS provider blocks external A records, has a flaky editor, or refuses to accept the records, you can move just your DNS to Cloudflare while keeping your domain registered where it is:
- Sign up for a free Cloudflare account.
- Add your domain: Cloudflare scans your existing records.
- Cloudflare gives you two nameservers.
- Go to your domain registrar and replace the current nameservers with Cloudflare's.
- Wait for the change to propagate (usually a few hours).
- Add the Capacity records in Cloudflare's DNS panel: set proxy status to DNS only (gray cloud).
Plans
Custom domains need a paid plan, whichever one. The certificate and its renewals are included. See pricing.
If a subscription ends and is not renewed, published apps are taken offline after a grace period, and their custom domains stop answering until you subscribe and publish again.
Still stuck? Open the Help chat on capacity.so and send a screenshot of your Domains panel and of your DNS editor.