Freedam

Custom Domains

A custom domain serves your whole workspace on a subdomain of yours, such as dam.example.com, instead of the Freedam address of the workspace (yourcompany.freedam.io). Your users sign in, browse and share from that address, and Freedam issues and renews its HTTPS certificate.

The Freedam address keeps working after you add a domain. Bookmarks, links already sent and connected integrations go on working on it, unless you choose to redirect it to the custom domain.

The Domains screen with the Freedam address and an active custom domain marked Canonical

Page Overview

  • Purpose: To serve the workspace on an address of your own and to choose which address Freedam uses in the links it sends.
  • When to use it: When you want your users and recipients of shares to see your company's name in the address bar.
  • What you can do here:
    • Add a domain and see the DNS records to publish for it.
    • Follow its verification until it is active.
    • Make a domain the canonical address, the one used in e-mails and share links.
    • Redirect an address to the canonical address.
    • Remove a domain.

Who can use this screen

The Domains entry appears under Platform in the administration when both conditions hold:

  • Your plan includes custom domains. The Business plan includes one custom domain. The Tailored plan includes more, and the number can be raised for your workspace on request.
  • You have the "Manage custom domains" permission (admin.domains). The Administrator role has it by default.

The screen shows how many domains your plan allows, for example "1 of 1 custom domains used". A domain still being verified, or in error, counts against the limit; a domain being removed does not. When every domain is in use, remove one before adding another.

If your plan stops including custom domains, the screen stays open so you can remove the domains listed. Adding a domain, Check now and Start again are no longer available.

Reading the list

Each address of the workspace has its own row:

  • The hostname, for example dam.example.com.
  • Its state, in coloured text with a dot: Pending, Verified, Active, Error or Being removed. See Domain states.
  • Its role: Freedam address for the address Freedam gave the workspace, Whole workspace for a custom domain.
  • Canonical, with a star, on the address Freedam uses in e-mails and share links.
  • Temporary redirect or Permanent redirect, with an arrow, on an address that sends visitors to the canonical address.

Below the row, a message explains the current state and, while the domain is not active, the DNS records to publish. The ⋮ button at the end of the row opens the actions the state allows.

The actions menu of the Freedam address: Set as canonical, Redirect permanently and Turn off the redirect

Adding a domain

Freedam needs a subdomain, such as dam.example.com or www.example.com, because the address must be a CNAME record. A bare domain (example.com), a wildcard (*.example.com) and an IP address are refused, as is a name already attached to another workspace.

  1. Click Add a domain at the top of the screen.
  2. Enter the Hostname, without https:// and without a path.
  3. Under Current use of this address, choose:
    • This address is not in use yet: nothing answers on this hostname today. You publish both DNS records at once.
    • This address already serves a site: another site answers on this hostname today and must keep working until Freedam is ready. You publish a TXT record first; Freedam prepares the certificate, then tells you when to switch the CNAME, so the address is never without a valid certificate.
  4. Click Add the domain.

The domain appears in the list as Pending, with the DNS records to publish.

The Add a domain dialog with the Hostname field and the two choices for the current use of the address

Publishing the DNS records

Publish the records at the company that hosts the DNS of your domain (your registrar, your DNS provider or your IT department). The DNS records to publish table under the domain gives the type, name and value of each record, with a copy button for each name and value. Copy them from there rather than typing them.

When the address is not in use yet

Publish both records:

Type Name Value Purpose
CNAME dam.example.com The Freedam target shown on the screen Sends visitors to Freedam
TXT _freedam-challenge.dam.example.com The token shown on the screen Proves the hostname is yours

Freedam issues the certificate once both records are found.

When the address already serves a site

The steps come in this order, and the table shows each record when it is due:

  1. Publish the TXT record _freedam-challenge.dam.example.com with the token shown. Keep the current DNS of the hostname as it is.
  2. Once Freedam has found it, the domain becomes Verified and, after the next check, the table shows two more TXT records from the certificate provider: one validates the hostname, the other the certificate. Publish both.
  3. When the certificate is ready, the message reads "The certificate is ready. Point the CNAME to … now." and the table shows the CNAME record. Replace the current record of the hostname with this CNAME.

The domain becomes Active once Freedam has checked the CNAME.

A pending domain with its status message and the DNS records to publish: the CNAME and the _freedam-challenge TXT record

If your DNS is on Cloudflare

Set the CNAME record to DNS only, not Proxied. A proxied record sends visitors to Cloudflare instead of Freedam, and the domain cannot be verified.

If your DNS is on Cloudflare, choose This address is not in use yet even when the hostname already serves a site: the certificate provider cannot prepare the certificate in advance for a hostname whose DNS is on Cloudflare.

Propagation time

A DNS change can take from a few minutes to a few hours to reach every resolver. Freedam checks the records every minute for 10 minutes, then every 10 minutes for 72 hours. You do not need to stay on the screen: administrators with the "Manage custom domains" permission receive an e-mail when the domain becomes active.

The TXT record _freedam-challenge is needed for verification only. You can delete it once the domain is active. Keep the CNAME for as long as you use the domain.

Domain states

State Message What to do
Pending "Waiting for the DNS records." with the time of the last check Publish the records shown. Click Check now once they are published.
Pending "The TXT record … was not found." Check the name of the TXT record. Some DNS providers add the domain to the name for you: enter _freedam-challenge.dam instead of the full name if yours does.
Pending "The TXT record exists but its value differs from the expected one." Copy the value again from the screen and replace the record's value.
Pending "… does not point to …" Publish the CNAME, or correct its value. On Cloudflare, set it to DNS only.
Pending "Your DNS could not be queried. Freedam will try again." Nothing: Freedam checks again on its own.
Verified "Domain verified. The certificate is being issued, usually within a few minutes." Wait.
Verified "Domain verified. Add the two TXT records below so the certificate can be issued." Publish the two TXT records of the certificate provider (address already in use).
Verified "The certificate is ready. Point the CNAME to … now." Switch the CNAME of the hostname to the value shown.
Active None The domain serves the workspace.
Active "The DNS has not pointed to Freedam since … The domain will be deactivated on …" Restore the CNAME, then click Check now. See When the DNS stops pointing to Freedam.
Error "Verification did not complete in 72 hours. Fix the records and start again." Correct the records, then click Start again.
Error "The certificate could not be issued." with the cause when there is one Fix the cause, then click Start again. A CAA record that does not allow the certificate authority is the most common cause.
Error "This address is already configured at the certificate provider for another service. Contact Freedam support." Contact Freedam support.
Error "The domain stopped pointing to Freedam for 14 days and was deactivated." Restore the CNAME, then click Start again.
Error "Your plan no longer includes custom domains." Change to a plan that includes custom domains, or remove the domain.
Being removed "Being removed." Nothing: the row disappears once the removal is complete.

Check now (on a pending or verified domain, or an active domain whose DNS no longer points to Freedam) runs a check at once instead of waiting for the next scheduled one. Start again (on a domain in error) restarts verification for another 72 hours with the same records.

A request left pending or in error for 7 days after verification timed out is removed automatically, and administrators receive an e-mail. While a domain has not been verified, another workspace can request the same hostname once 72 hours have passed since your request, and must then prove ownership itself.

An active custom domain of the whole workspace, marked Canonical

The certificate

Freedam requests the HTTPS certificate of the domain from its certificate provider and renews it automatically. You do not upload a certificate or a key.

If your domain has CAA records, which restrict the certificate authorities allowed to issue certificates for it, the certificate can fail. The error message shows the cause the provider gives.

Making a domain the canonical address

The canonical address is the one Freedam writes in links that leave the application: e-mails and notifications, share links, copied addresses, published image addresses and the canonical address of public pages for search engines. Inside the application, links keep the address you are using.

To make a domain canonical:

  1. Open the ⋮ menu of an active domain and click Set as canonical.
  2. Confirm in the dialog.

Links in future e-mails and shares use this domain. Links already sent keep working for as long as the previous address still serves the workspace or redirects to this one.

Set as canonical is offered on every active address that is not canonical, the Freedam address included, so you can return to the Freedam address without removing your domain.

The confirmation dialog for making an address the canonical address

Redirecting an address to the canonical address

Without a redirect, every active address serves the workspace. A redirect sends visitors who open a page on an address to the same page on the canonical address, so everyone ends up on one address. The canonical address itself cannot redirect.

Turn the redirect on in two steps:

  1. Redirect temporarily first. Browsers and search engines do not remember a temporary redirect, so you can turn it off at any time. Check that sign-in and your integrations work through the canonical address.
  2. Redirect permanently once everything works. This choice appears only when a temporary redirect is in place. Browsers and search engines remember a permanent redirect: turning it off later does not reach browsers that already followed it, and search engines move the indexing of the address to the canonical address.

Turn off the redirect in the same menu stops redirecting.

These requests are never redirected and keep answering on every address of the workspace, so integrations set up with the Freedam address keep working:

  • the public API, SCIM provisioning and the MCP server;
  • the Picker and the integrations that embed it (WordPress, Shopify and others);
  • the sign-in returns from your identity provider;
  • published images, embed codes and other links that carry a signature.

Only page visits are redirected. A form sent from a tab opened before the redirect still goes through.

The temporary redirect dialog

The permanent redirect dialog, which explains that browsers and search engines remember a permanent redirect

Signing in on a custom domain

  • Password and two-factor authentication work the same on every address.
  • Single sign-on with Google, Microsoft or your SAML identity provider works on the custom domain: after signing in, users come back to the address they started from. Your identity provider needs no change, because the SAML values and the SCIM base URL shown in Access Settings keep using the Freedam address.
  • Each address has its own session. Signing in on the Freedam address does not sign you in on the custom domain, and the reverse.

Passkeys

A passkey works only on the address it was created on. A passkey created on the Freedam address does not work on the custom domain, and stops working once that address redirects. Each user's security page shows, for each passkey, the address it works on.

Before you turn a redirect on, the dialog shows how many users have a passkey on the address to be redirected. If a passkey of that address is the only way some users can sign in, the dialog names them and the redirect cannot be turned on. Ask each of them to add another sign-in method first, such as a password or a passkey created on the canonical address, then try again.

Search engines

Public pages declare the canonical address as their address for search engines. The sitemap is served on the canonical address only. When you change the canonical address, redirect the previous address temporarily first, then permanently once sign-in and integrations work: search engines move the indexing on a permanent redirect.

Removing a domain

  1. Open the ⋮ menu of the domain and click Remove.
  2. Confirm with Remove the domain.

Freedam stops serving the workspace on the domain at once, and links to it stop working. If the domain was the canonical address, the Freedam address becomes the canonical address and is used in e-mails and share links from then on. The hostname stays reserved to your workspace until its certificate has been deleted, then the row disappears. You can then delete the DNS records.

The Freedam address cannot be removed.

The Remove dialog of the canonical domain, which says the Freedam address takes over

When the DNS stops pointing to Freedam

Freedam checks every active custom domain once a day. If the CNAME no longer points to Freedam, or another site answers on the hostname:

  • The row shows "The DNS has not pointed to Freedam since … The domain will be deactivated on …", and administrators with the "Manage custom domains" permission receive an e-mail on the first day, after 3 days and after 7 days.
  • After 24 hours, if the domain is the canonical address, the Freedam address becomes the canonical address for new links. Links already sent with the custom domain stay broken until the DNS is fixed.
  • After 14 days, the domain is deactivated and shows Error. It stays in the list for 7 days, then is removed; meanwhile another workspace can claim the hostname.

When a check cannot reach your DNS or the domain (a resolver timeout, an outage), Freedam checks again within the hour and changes nothing.

To recover, restore the CNAME and click Check now (or Start again once the domain is in error). A domain that recovers does not become the canonical address again by itself: use Set as canonical if you want it back.

Try Freedam

Related Documentation

Explore more in this category