DNS CNAME Update Not Reflecting – Railway Deployment
navedk0201
PROOP
4 months ago
I have updated my DNS as follows:
- Type: CNAME
- Host:
www - Value:
xxxxx.xx.railway.app
However, I’m still facing these issues:
- The domain is not resolving correctly
- The website is still redirecting to the old destination
My questions:
- Is this just DNS propagation delay, and should I wait longer?
- Do I also need to add an A record for the root domain?
- If an A record is required, how do I find the IP address for Railway, since Railway provides only a
.railway.appdomain and not a fixed IP?
Additional info:
- I’ve removed old A records
- Only a CNAME for
wwwcurrently exists
What is the correct DNS setup for Railway custom domains?
Thanks in advance for your help
1 Replies
4 months ago
You need to add both @ and www records to your DNS provider. Note that some providers do not support CNAME flattening (Using @ as a record), so if that's the case, I would recommend you switch to using Cloudflare's DNS.
Also, Railway does not provide A records for custom domains. You're only given CNAME records to add to your DNS provider if you wish to use custom domains with Railway.