Last updated

Custom domains

Every server gets a Deep Woods address automatically. Production traffic (customers, partners, search engines) should reach a domain your organization owns, so links keep working even if you move hosts later.

Add the domain

Open the server (Projects → Servers → your server). On the Overview tab, under Configured Domains, click Add Domain and enter the domain, for example app.example.com.

Choose what it does

Under Behavior, choose one:

  • Production: the domain serves your app.
  • Preview branch: the domain serves one branch, such as a staging branch. Choose it under Branch.
  • Redirect to another domain: visitors are sent on to another address, such as example.com to www.example.com.

Create the DNS records

The domain's card lists the records to add: "Add these DNS records with your domain provider." Sign in to your domain provider (the company you bought the domain from, or wherever its DNS is managed) and add each one exactly as shown.

Verify

Click Verify. DNS changes can take from a few minutes to a few hours to spread, which is normal. Once the domain shows as verified, SSL (the padlock and https://) is set up and renewed for you.

Troubleshooting

  • Still not verified after an hour or two: compare each record with the dashboard, character by character. A typo in the record's value is the most common cause. Another is entering the full domain in the name field when your provider adds it automatically, which turns app.example.com into app.example.com.example.com.
  • A record already exists for that name: an old A or CNAME record on the same name conflicts with the new one. Remove the old record first.
  • A bare domain (example.com rather than app.example.com): some providers handle these differently. Add exactly the record type the dashboard shows; if your provider doesn't offer it, use a subdomain such as www, and redirect the bare domain to it.
  • You use the domain for email: don't delete existing MX or TXT records. Only add the records the dashboard asks for.

If none of this helps, contact support with the domain name.