Skip to main content
Enabled in workspaces on the Growth plan and above.
Setting up a Custom Domain will allow your Navattic demos to be served from a domain of your choice, like demo.acme.com.

How to add a Custom Domain

Follow these steps to add a custom domain to your demos:
1

Add Your Domain

Go into your account settings page, and click on the Domains tab > + Add Domain > type in your preferred domain. We recommend the format demo.company.com.
2

Add a CNAME record to your DNS provider.

If you have access to your DNS provider (like Domain.com or GoDaddy), add the CNAME record below. If you do not have access, forward this to a member of your engineering team and they can do it for you.
CNAME demo.acme.com capture.navattic.com
3

Vercel Only - Additional Steps

If you use Vercel as your hosting provider, you may see the below message. In order to finish setting up your domain, verify ownership of the subdomain by setting the given record on your DNS provider.For example, if your Custom Domain is demo.navattic-example.com, complete verification by adding a TXT record for _vercel.navattic-example.com where the value is provided in-app.Once ownership is verified, you will see a similar message to the image below.
4

View Your Demos

Your demos will now be served under demo.acme.com! This applies to share links, direct demo links, and iframe embeds.

Choose which demos a domain serves

Each demo is assigned to the custom domains that are allowed to serve it. A demo only loads on a domain it is assigned to, so a workspace with several domains can keep each brand on its own domain. When a visitor opens a demo on a domain the demo is not assigned to, the demo does not load and the visitor sees a not-found page. When you add a new custom domain, every demo that already exists in your workspace is assigned to it. Your Navattic workspace subdomain keeps serving every demo in the workspace, whatever the assignments are.
A demo created after you add a custom domain starts with no domain assigned. Assign it before you share it, or its links will use your workspace subdomain.
To change the domains for one demo:
1

Open the demo's settings

In the demo builder, open the demo menu and select Project settings. You can also open a demo’s settings from your demos list.
2

Assign the domains that should serve the demo

Under Domains, turn on the switch next to each domain that should serve the demo. Turn a switch off to stop that domain serving it.
3

Choose the domain new links use

On an assigned domain, open the options menu and select Set primary. Only a verified domain can be the primary. Select Unset primary to go back to your workspace default domain.
New links for a demo use, in this order:
  1. The demo’s primary domain, when it is set and verified.
  2. Your workspace default domain, when the demo is assigned to that domain and it is verified.
  3. Your workspace subdomain, when neither applies.

FAQs

New links for that demo use your workspace subdomain instead, and the demo stops loading on the default domain. Links you shared earlier that point at the default domain stop working, so unassign a domain only when you no longer want it serving that demo.