4 months ago
Hi Railway team,
I’m trying to connect my root domain (servi.co.il) to my Railway project.
My DNS provider does not allow setting a CNAME record on the root domain (@), because it overrides other records like MX. They told me I cannot use a CNAME for the main domain.
What is the correct way to point my root domain to Railway in this case?
Can you provide A records (IP address) or another supported method for apex domain connection?
Thank you.
2 Replies
Status changed to Awaiting Railway Response Railway • 4 months ago
4 months ago
Railway does not provide static inbound IPs for you to use as A records for custom domains.
Have you seen the Working with Domains docs?
4 months ago
It's recommended to use Cloudflare's DNS as they support CNAME flattening.
Also, Railway only supports CNAME records, not A records.
https://developers.cloudflare.com/dns/zone-setups/full-setup/setup/
Status changed to Solved medim • 3 months ago
