Set root domain
paoloaguilar
HOBBYOP

2 months ago

Hi Railway Team,

I am trying to point my apex/root domain (fraggati.com) to my Railway deployment aljz272u.up.railway.app.

Since my DNS provider is AWS Route 53, I cannot set a standard CNAME record at the root zone (Apex) due to DNS RFC specifications. AWS Route 53 also does not support CNAME flattening for external target hosts out of the box unless provided with an IP address or an AWS-native resource.

Could you please provide the IPv4 address(es) for my deployment so I can configure an A record in Route 53, or let me know the recommended approach to resolve fraggati.com directly to Railway?

Domain: fraggati.com

Railway Target: aljz272u.up.railway.app.

Solved$10 Bounty

Pinned Solution

If your DNS provider doesn't support CNAME Flattening or dynamic ALIAS records at the root, the recommended workaround by Railway docs is to change your domain's nameservers to point to Cloudflare's nameservers. This will allow you to use a CNAME record for the root domain.

You can read more about this here: https://docs.railway.com/networking/domains/working-with-domains#adding-a-root-domain

2 Replies

Railway
BOT

2 months ago

This thread has been opened as a bounty so the community can help solve it.

Status changed to Open Railway • about 2 months ago


jaymart95
PRO

2 months ago

not 100% on this, but have you tried enabling static IPs on the service in settings? I know it states outbound traffic only, but couldn't hurt to try.


If your DNS provider doesn't support CNAME Flattening or dynamic ALIAS records at the root, the recommended workaround by Railway docs is to change your domain's nameservers to point to Cloudflare's nameservers. This will allow you to use a CNAME record for the root domain.

You can read more about this here: https://docs.railway.com/networking/domains/working-with-domains#adding-a-root-domain


Status changed to Solved mayori • about 2 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...