Skip to Content

Use a Custom Domain

After publishing a Web app, you can connect a domain you own to its production version.

Before you start

Prepare the following:

  • A Web app that has been published successfully
  • A domain you own
  • Access to the domain’s DNS settings

A subdomain such as app.example.com usually avoids conflicts with email and other DNS records on the root domain.

Add a custom domain

Enter the domain

Open the custom domain settings and enter the domain you want to use. Make sure it is not already connected to another service that must remain available.

Verify domain ownership

Momen generates a TXT record for the domain. Add the record exactly as shown in your DNS provider, then return to Momen and check its status. DNS changes may take time to propagate.

TXT verification record generated by Momen

Adding the TXT verification record at a DNS provider

Configure CNAME records

After ownership verification, add the CNAME records shown by Momen. These records point the domain to Momen and allow HTTPS certificate configuration.

If your DNS provider offers HTTP proxying, such as Cloudflare’s proxied mode, set the CNAME records to DNS only while completing verification.

CNAME records generated by Momen

Adding Momen CNAME records at a DNS provider

⚠️

CNAME record conflicts

A host name generally cannot have both a CNAME record and another record such as A, MX, or TXT. If the DNS provider reports a conflict:

  1. Find existing records with the same host name.
  2. Confirm whether they are still required before pausing or deleting them.
  3. If the root domain has MX records for email, use a subdomain for the app.
  4. Wait for DNS caches to update, then check the domain again in Momen.

Do not delete an unfamiliar DNS record until you know which service uses it.

Set a favicon

Upload the favicon to use for the Web app.

Save and publish

Save the custom domain configuration and wait for the page to report that setup is complete. Publish the Web app again to apply the domain and favicon to production.

Published Momen app using a custom domain

Manage custom domains

  • Default domain: If the app has multiple custom domains, select one as the default. Other domains redirect to it.
  • Editing: Unsaved domain configuration is retained for 24 hours. After saving, only the favicon can be edited directly; replace a domain by deleting and adding it again.
  • Deleting: If all custom domains are removed, the app returns to its Momen-provided domain.
Last updated on