Custom domain returns 502
arakvaag
HOBBYOP

15 days ago

Support Case Details:

  • Custom domain: vin.rakvag.org
  • Service: vin (production environment)
  • Issue: Returns 502 with x-railway-fallback: true
  • Request ID from curl: FrNQ6XIVT72yM_r7N8N_Fg
  • Auto-domain works fine: vin-production-9de8.up.railway.app functions normally on the same service
  • Troubleshooting already done: Deleted and re-added the domain without effect

Problem description:

The custom domain vin.rakvag.org is returning 502 errors with the header x-railway-fallback: true, while the auto-generated Railway domain on the same service works normally. This appears to be an issue with Railway's internal routing for custom domains, not a code or configuration problem on my end.

Solved$10 Bounty

Pinned Solution

Make sure the port your application is listening to is the same port your domain is bound to.

2 Replies

Status changed to Open Railway 15 days ago


Make sure the port your application is listening to is the same port your domain is bound to.


0x5b62656e5d

Make sure the port your application is listening to is the same port your domain is bound to.

arakvaag
HOBBYOP

15 days ago

It was that easy! I thought I had checked that but no 😔 thank you!


Status changed to Solved 0x5b62656e5d 15 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...