Connect a custom domain to your app with free HTTPS

Point your own domain at a Launchpad app, prove you own it, and let the HTTPS certificate set itself up.

A small cream house with a terracotta roof and a padlock by the door

Every Launchpad app gets its own address ending in remotegeeks.online, with HTTPS already working. That is fine for testing, but customers expect your own name: example.com or shop.example.com.

This guide is for anyone connecting a domain to a Launchpad app for the first time, whether the domain is registered with RemoteGeeks or somewhere else. By the end you will know which DNS records to create and why, how to handle the root domain and www, how to check your records from the command line, and what to do when the certificate doesn't appear.

What happens when you connect a domain

Connecting a domain involves three separate jobs:

  • Proving ownership. A TXT record shows that you control the domain, so nobody else can attach it to their app.
  • Routing visitors. A CNAME record (for a subdomain like shop.example.com) or an A record (for the root, example.com) tells browsers where your app lives.
  • Issuing a certificate. Once both records are found, an HTTPS certificate is issued automatically for that domain.

Launchpad shows the exact names and values for your app in its Domains tab. Always copy those values rather than anything from an example, including this one.

Root domain or subdomain

The root (also called the apex) is the bare domain, example.com. Anything in front of it, such as www.example.com or shop.example.com, is a subdomain.

The difference matters because of a DNS rule: a CNAME must be the only record at its name. The root always carries other records (the NS records that delegate the domain, the SOA record, and usually MX records for email), so a standard CNAME can't live there. That is why Launchpad asks for an A record for the root and a CNAME for subdomains.

Address you addRouting recordTypical name field
shop.example.comCNAMEshop
www.example.comCNAMEwww
example.comA@ (or blank, depending on the provider)

Some DNS providers offer a workaround called CNAME flattening, ALIAS or ANAME. Unless you have a reason to use it, stick to the record type Launchpad shows.

Choose a main address and redirect the other

Visitors type both example.com and www.example.com, so add both to your app. Add the one you prefer first, then add www.example.com (or the root) as a second domain. Each gets its own records and certificate.

For search engines, pick one as the main address and send the other to it with a permanent redirect. If your app is an Express server, a few lines do it:

JavaScript
app.use((req, res, next) => {
  if (req.hostname === 'www.example.com') {
    return res.redirect(301, `https://example.com${req.originalUrl}`);
  }
  next();
});

Most frameworks have an equivalent, and if the domain sits behind the Cloudflare proxy you can use a Cloudflare redirect rule instead. Also set a canonical tag on each page pointing at the main address, for example <link rel="canonical" href="https://example.com/pricing">.

Step by step: connect a domain on Launchpad

Custom domains are included on paid plans, and your remotegeeks.online address keeps working alongside them.

  1. Open the app in your dashboard and go to Domains.
  2. Type the address you want, for example shop.example.com or example.com, and add it.
  3. Launchpad shows the DNS records to create: a TXT record and either a CNAME or an A record.
  4. If the domain is registered with RemoteGeeks and uses our DNS, click Set up DNS for me and the records are added for you.
  5. Otherwise, add the records at your DNS provider. Where do I add these? has the path for Cloudflare, GoDaddy and Namecheap.
  6. On Cloudflare, set the record to DNS only (grey cloud) until HTTPS is active.
  7. Press Check now. Once both records are found, the certificate is issued and the domain starts serving your app.
  8. Repeat for www.example.com so both addresses work.

Why changes take time: propagation and TTL

DNS answers are cached. Every record has a TTL (time to live) in seconds, and resolvers keep an answer for that long before asking again. A record with a TTL of 3600 can be served from cache for up to an hour after you change it.

There is a second, less obvious cache. If anything looked up your new name before the record existed, the "this name doesn't exist" answer is cached too, for a period set by your zone's SOA record. That is why a Check now that fails right after you add the records often passes a little later.

If you are replacing records that already point somewhere else, lower their TTL to 300 a day before the switch. Visitors then move over within minutes, not hours.

Check your records with dig and nslookup

You can see exactly what the world sees from a terminal. dig is built into macOS and most Linux systems; nslookup also works on Windows.

Terminal
# Routing record for a subdomain
dig +short CNAME shop.example.com

# Routing record for the root domain
dig +short A example.com

# Ownership record (use the exact name Launchpad shows for the TXT record)
dig +short TXT example.com

# Ask specific public resolvers to compare caches
dig @1.1.1.1 +short A example.com
dig @8.8.8.8 +short A example.com

# Which nameservers are actually in charge of the domain
dig +short NS example.com

The nslookup equivalents:

Terminal
nslookup -type=CNAME shop.example.com 1.1.1.1
nslookup -type=TXT example.com

If dig +short NS shows a provider you didn't expect, you are editing records in the wrong place: changes only count at the provider those nameservers belong to.

CAA records can block the certificate

A CAA record lists which certificate authorities may issue certificates for your domain. Most domains don't have one, and with no CAA record any authority may issue. If your domain does have CAA records and they don't include the authority used for your app's certificate, issuance fails even though your TXT and routing records are correct.

Check with:

Terminal
dig +short CAA example.com

Empty output means there is no restriction. A result looks like this:

DNS
example.com.  3600  IN  CAA  0 issue "ca.example.net"

CAA is checked up the tree: for shop.example.com, a record on shop.example.com takes priority, otherwise the one on example.com applies. If you find CAA records you didn't expect, contact support to confirm which authority to allow, then add it or remove the restriction.

Common mistakes

  • Typing the full domain in the name field. Many providers add the domain for you, so shop.example.com becomes shop.example.com.example.com. Enter just shop, or @ for the root.
  • Leaving old A or AAAA records in place. An old AAAA record sends IPv6 visitors to your previous server and can make certificate checks fail. Remove old routing records for the same name.
  • Trying to put a CNAME on the root. Use the A record Launchpad gives you.
  • Turning the Cloudflare proxy on too early. Keep the grey cloud until HTTPS is active.
  • Forgetting www. Add it as a second domain, or visitors who type it get an error.
  • Changing nameservers to edit one record. Moving nameservers moves every record, including MX. Add the records at your current DNS provider instead.

Security notes

  • Keep the records Launchpad asked for in place while the domain is in use.
  • When you remove a domain from an app or delete the app, delete its CNAME or A record too. A record left pointing at something you no longer control is an invitation for a subdomain takeover.
  • Protect your registrar and DNS accounts with two-factor authentication. Keep transfer lock on and use the free WHOIS privacy if your domain is with RemoteGeeks.
  • With Cloudflare, avoid the Flexible SSL mode: it leaves traffic between Cloudflare and your app unencrypted and often causes redirect loops.
  • Add an HSTS header only once HTTPS works on every subdomain you use, and start with a short max-age.

Troubleshooting

SymptomLikely causeFix
Check now fails right after adding recordsRecords haven't reached resolvers yet, or a negative answer is cachedWait a few minutes, confirm with dig @1.1.1.1, then check again
Check still fails hours laterWrong name (domain doubled), typo in the value, or editing at a provider that isn't authoritativeCompare dig output with the values in Domains; check dig +short NS
Records found but no certificateCAA restriction, Cloudflare proxy on, or an old AAAA recordRemove the conflict, set DNS only, press Check now
www shows a certificate warningwww.example.com was never added as a domainAdd it in Domains with its own records
"Too many redirects" behind CloudflareSSL/TLS mode set to FlexibleSwitch to Full (strict)

Frequently asked questions

Does my domain need to be registered with RemoteGeeks?

No. Any registrar works; you add the records at whoever runs your DNS. A domain registered with RemoteGeeks on our DNS gets the Set up DNS for me button, which saves the copying.

Will my remotegeeks.online address stop working?

No. It keeps working alongside your custom domain, which is handy for testing. Use canonical tags so search engines treat your custom domain as the main address.

How long does it take?

Often a few minutes. If you are replacing existing records, it can take as long as their old TTL. Once Check now passes, the certificate follows automatically.

Will connecting my domain affect my email?

Not if you only add the records Launchpad shows. Email is routed by MX records, which a TXT, CNAME or A record for your app doesn't replace.

Next steps

You now have a domain that points at your app, a certificate that renews itself, and a way to check DNS when something looks wrong. If you want to understand every record type in more depth, start with the DNS guide below.

Share this articleLinkedIn (opens in a new tab)X (opens in a new tab)Facebook (opens in a new tab)
Was this article helpful?

Get new guides in your inbox.

One email a month. Unsubscribe anytime.