Skip to content

Custom domains ​

Serve your developer portal from your own address, such as developers.yourcompany.com, with a certificate that MicroAuth issues and renews for you. Custom domains come with paid plans. See your MicroAuth plan.

Add your domain ​

Open Portal, then the Custom domain tab. Enter the hostname only, without https:// or a path, and click Add domain. Use a subdomain. Most DNS providers do not allow a CNAME on a root domain like yourcompany.com.

The page then walks you through three steps and checks your DNS every 10 seconds until the certificate is ready.

1. Prove you own the domain ​

Add the TXT record shown on the page at your DNS provider:

TypeNameValue
TXT_microauth-verify.developers.yourcompany.comThe value from the page

Click Check TXT record. You can leave the record in place afterwards.

2. Point it at MicroAuth ​

Add a CNAME from your domain to your portal's MicroAuth address:

TypeNameTarget
CNAMEdevelopers.yourcompany.comyour-api.microauth.dev

If the page says it sees a different CNAME or A record, the old record is still in place or has not expired from DNS caches yet.

3. SSL certificate ​

Once both records are in place, a certificate from Let's Encrypt is issued automatically, usually in under a minute. It renews on its own.

Redirect the old address ​

After the domain is verified, turn on Redirect your-api.microauth.dev here to send visitors from the MicroAuth address to your domain. Leave it off if you want both addresses to work.

Troubleshooting ​

The TXT check fails. DNS changes can take a few minutes, and sometimes longer with a high TTL. Some DNS panels add your domain to the name automatically. If yours does, enter only _microauth-verify.developers. You can check what the world sees with:

bash
dig +short TXT _microauth-verify.developers.yourcompany.com

Cloudflare or another proxy. Keep the CNAME as DNS only (grey cloud in Cloudflare) until the certificate is active. A proxied record hides the CNAME, so the check cannot see it and the certificate cannot be issued.

CAA records. If your domain has CAA records, one of them must allow letsencrypt.org, or the certificate cannot be issued:

bash
dig +short CAA yourcompany.com

The certificate is stuck on issuing. Check the proxy and CAA notes above, then click Refresh. If it stays there for more than an hour, email support@microauth.com with the domain name.

MicroAuth is a product of Zyref, LLC.