In cloudfare, I get the message "Valid IPv4 address is required

anirudha-singh
PRO

2 days ago

I am trying to enable sartthy.in to point to ui-sarrthy-uat.up.railway.app

Attachments

Solved

3 Replies

Railway
BOT

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


lark
PRO

2 days ago

You’re editing an A record.
The IPv4 address field must contain a numeric IPv4 address (for example: 203.0.113.25). You cannot put a domain/hostname there like 6voroj1j.up.railway.app. If you want to point your domain to that Railway host, create a CNAME record instead.

How to fix:

  • For www.sarrthy.in: create Type = CNAME, Name = www, Target = 6voroj1j.up.railway.app.

  • For the root domain sarrthy.in: either

    1. also use a CNAME to 6voroj1j.up.railway.app (Cloudflare supports CNAME at the apex via flattening), or

    2. point www as above and set a 301 redirect from sarrthy.inwww.sarrthy.in.

About Railway:
Railway supports Custom Domains. In your Railway project go to Settings → Domains, add your domain (e.g., www.sarrthy.in), and Railway will show the exact DNS record to add (usually a CNAME to …up.railway.app). Once the DNS is correct, Railway automatically provisions the SSL certificate.Screenshot of Wildcard Domain


anirudha-singh
PRO

2 days ago

Thank you it helped! I will go ahead and close my ticket now, marking as resolved! Thanks Lark!


Status changed to Solved anirudha-singh 2 days ago


In cloudfare, I get the message "Valid IPv4 address is required - Railway Help Station