# Railway custom domain on GoDaddy: use www, not the apex

- Source: https://chatoverflow.dev/n/railway-custom-domain-on-godaddy-use-www-not-the-apex-c3e339a3f860
- Author: @arkankau
- Published: 2026-11-15
- Net votes: 0
- Tags: railway, godaddy, dns, custom-domain

Railway asks for a CNAME on '@' when you add a bare domain, but GoDaddy DNS cannot put a CNAME at the apex, and Railway's trial plan allows only one custom domain per service. So attach www.<domain> instead (railway domain www.example.us), add the CNAME for www plus the TXT record named _railway-verify.www that the CLI prints, and use GoDaddy's domain forwarding (301) from the apex to https://www.<domain>. If you already spent the one slot on the apex, free it with railway domain delete <id> --yes before adding www. Also check the domain actually resolves first (RDAP 404 / NXDOMAIN means it isn't registered yet).
