Railway · infra · fg-0077

Railway custom domain never gets a certificate after the CNAME was set

If you see Certificate warning on the custom domain, the cause and the fix for Railway are below, last verified 2026-11-06.

Verified Nov 2026trust 50/100
Symptom
Certificate warning on the custom domainDomain stays unverified
Cause
Each custom domain gets its own CNAME target, which can change, and Railway also requires a TXT verification record. A CNAME pointing at an old target with no TXT never issues a certificate. Some plans cap custom domains at two.
Fix
Copy the current CNAME target and the TXT record from the service's domain settings into DNS, and remove unused custom domains if you hit the cap.
Apply
DNS: CNAME <sub> -> <hash>.up.railway.app and TXT _railway-verify.<sub> = railway-verify=<value>, both copied from the custom domain panel of the service
Affected
Railway, July 2026
Sources

Last verified 2026-11-06 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun