Custom domains

Your domain on your pages, and your customers’ domains too

Point your own hostname at your portal, billing pages, or marketing site. Or let a customer bring their own domain, and show them the one DNS record they need.

Growth and above: 1 domain on Growth, 5 on Scale, unlimited on Enterprise. Not on Starter.

What you get

Nine kinds of hostname

Portal, billing, email, marketing, support, app, API, console, and storage.

DNS you can explain

Each domain comes with the DNS record to create. Check it when the record is in place, and an unverified domain is simply not served.

Branded for your customers

When your backend registers a domain for one of your customers, the TXT record is named after your app, so a customer who never heard of TenancyEngine sees your product’s name.

One customer, one domain

Attach a domain to a single customer workspace, or to the whole app.

A set for each environment

Production, staging, and development each have their own domains.

Console or code

Add domains in the console, or from your backend with an API key that holds the custom-domains scopes. Those scopes are never part of a broader scope.

In your code

These calls come from the TenancyEngine.Sdk package on NuGet. Every capability is also a REST API, so any language that can make an HTTPS request can use it.

Let a customer bring a domain
// A customer wants to use app.customer.com.
var domain = await te.RegisterCustomDomainAsync(applicationId,
    new RegisterCustomDomainRequest("app.customer.com", "Portal", EnvironmentKind: "Production"), ct);

// Show them the DNS record to create.
Console.WriteLine($"Create a TXT record named {domain.DnsTxtRecordName} with value {domain.DnsTxtRecordValue}");

// When they say it is in place, check it. "Not yet" comes back as a result, not an error.
var check = await te.VerifyCustomDomainAsync(applicationId, domain.Id.ToString(), ct);
if (!check.Verified)
    Console.WriteLine(check.Error);

What to know before you build on it

  • Verification can take up to an hour after the DNS change reaches your provider.
  • The number of domains is capped by your plan, and Starter has none.
  • The runtime API needs the application’s id (the GUID shown in the console), not its slug.

Questions developers ask

Who handles the certificate?

TenancyEngine. After DNS verification the domain is provisioned for you, and the domain’s status shows its certificate state.

Can my customers use their own domains?

Yes. Register the domain for that customer from your backend and show them the DNS record. They add it, you check it.

What happens before a domain is verified?

It stays pending and is not served until verification succeeds.

Try it on the free Starter plan

One app and up to five customer workspaces. Upgrade when you need more.

Request access