Issues using domain from Vercel as custom domain on Railway
aarongsellin
FREEOP

13 days ago

Hey guys, the issue is simple. When I create a new custom domain under networking in my deployment is tells me to use @ as the key name for the CNAME type.

However on Vercel (where my domain is at) it tells me that @ is a "Invalid name parameter."

I've tried using "www" as the key name instead, but then it does not verify with Railway, is it possible to change which key that Railway will be listening for?

I have also considered just using my domain as a proxy and then re-routing all traffic to the generated one on Railway.

How do I proceed? Do I need to move my domain to another host to circumvent these types of form checks?

Solved

1 Replies

Railway
BOT

13 days ago

Vercel's DNS does not support CNAME records at the root/apex level (the @ record), which is a limitation of their DNS service, not something we can change on our end. You can either add the domain as a subdomain (like www.yourdomain.com) and make sure the CNAME in Vercel points to the value we provide, or point your domain's nameservers to a provider that supports CNAME flattening (like Cloudflare) so you can use the root domain with us.


Status changed to Awaiting User Response Railway 13 days ago


Status changed to Solved aarongsellin 13 days ago


Loading...