25 days ago
Hi, I'd like to set an A record for my domain.
Example:
www.domain.com = using your CNAME xxx.up.railway.app
domain.com = using A record 66.33.22.xx
For now, I have setup both using your CNAME, but would like #2 to be an A record with static IP instead.
May I ask how should I configure this differently to obtain an IP address for A record?
Thanks.
6 Replies
25 days ago
Hey there! We've found the following might help you get unblocked faster:
🧵 Adding a custom domain URL for the Node App hosted on Railway
📚 Deploy Static Sites with Zero Configuration and Custom Domains
If you find the answer from one of these, please let us know by solving the thread!
25 days ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open brody • 25 days ago
25 days ago
Unfortunately these threads did not provide a solution to my issue.
And for context, we noticed another customer of yours managed to set a CNAME for www and A record for the apex. See screenshot.
Pls advise how should the configuration be to achieve this?
Attachments
24 days ago
Hi, any advice or updates Brody?
23 days ago
im pretty sure that railway doesn’t provide a static IP for A records (iirc static IPs can be enabled but not for what youre looking for) all custom domains must use CNAME records pointing to your *.up.railway.app domain (whatever is given to you by railway). if your DNS provider needs an A record for the root domain, set an ALIAS or ANAME record that resolve's to railway's CNAME target
monuit
im pretty sure that railway doesn’t provide a static IP for A records (iirc static IPs can be enabled but not for what youre looking for) all custom domains must use CNAME records pointing to your *.up.railway.app domain (whatever is given to you by railway). if your DNS provider needs an A record for the root domain, set an ALIAS or ANAME record that resolve's to railway's CNAME target
23 days ago
but if you refer to the screenshot i attached, that owner had managed to do so... as its A record was resolving to a static IP while its CNAME was pointing to *up.railway.app. I'm trying to replicate what that person did.
23 days ago