Setting A record for Custom Domain

valead-ai
HOBBYOP

25 days ago

Hi, I'd like to set an A record for my domain.

Example:

  1. www.domain.com = using your CNAME xxx.up.railway.app

  2. 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.

$10 Bounty

6 Replies

Railway
BOT

25 days ago

Hey there! We've found the following might help you get unblocked faster:

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


valead-ai
HOBBYOP

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


valead-ai
HOBBYOP

24 days ago

Hi, any advice or updates Brody?


monuit
PROTop 10% Contributor

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

valead-ai
HOBBYOP

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.


monuit
PROTop 10% Contributor

23 days ago

i think you might be referring to outbound traffic (they can be enabled at any service i believe) as this is pretty normal, otherwise what railway has is this docs about adding a custom domain


Loading...
Setting A record for Custom Domain - Railway Help Station