Custom Domain Setup - Need A Record IP Address or NS Servers for Root Domain Message:
marketolog
PROOP

6 months ago

Hello Railway Support Team,

I'm trying to set up a custom domain for my project on Railway. When I add a custom domain in the Railway dashboard, I only see a CNAME record provided (e.g., frontirinabake-production.up.railway.app).

However, I need to configure the root domain (@ record) at my domain registrar (Reg.ru), and according to DNS standards, CNAME records cannot be used for the root domain (@) when other records (like NS, SOA) already exist.

Could you please provide one of the following solutions:

  1. An A record IP address that I can use for the root domain (@) instead of CNAME, OR
  2. Name servers (NS records) that I can delegate my domain to, so Railway can manage all DNS records automatically

My project details:

I understand that Railway typically provides CNAME records for custom domains, but for root domain configuration, I need either an A record IP address or NS servers for proper DNS delegation.

Thank you for your assistance!

Solved$10 Bounty

Pinned Solution

I would suggest using Cloudflare's DNS, as some DNS providers do not provide CNAME flattening (eg, Reg.ru)

Also, you're only able to use custom domains with CNAME records for Railway. Railway doesn't provide any A/AAAA records.

https://developers.cloudflare.com/dns/zone-setups/full-setup/setup/

1 Replies

I would suggest using Cloudflare's DNS, as some DNS providers do not provide CNAME flattening (eg, Reg.ru)

Also, you're only able to use custom domains with CNAME records for Railway. Railway doesn't provide any A/AAAA records.

https://developers.cloudflare.com/dns/zone-setups/full-setup/setup/


Status changed to Solved noahd 4 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...