Second Railway-Provided Domain?
michael-watson
PROOP

10 months ago

I thought it was possible in the past to have a second railway-provided domain for a service. I have a docker image that starts up two ports, one for an MCP server and the other for a graph router. The MCP server uses the router behind the scene, but I would also like to publicly expose the router if I can.

Do I have to use custom domains to do this? Railway recognizes both of the ports available, I can just only route to one of them currently.

Solved

11 Replies

michael-watson
PROOP

10 months ago

Project ID: 3e93983e-9763-4d04-aaea-9bf8a96ae704


michael-watson
PROOP

10 months ago

Sorry I was on a flight and just landed


10 months ago

It isn't possible to have two Railway domains for one service. You can have multiple custom domains though


10 months ago

I'm unsure if it's possible to point one domain at one port and a second domain at another.


michael-watson
PROOP

10 months ago

@Brody does that yes mean a second domain can point at a second port?


michael-watson
PROOP

10 months ago

I also have a healthcheck available, but sounds like a route on the url is preferred to a specific port


10 months ago

Yes


10 months ago

Health checks are done with port 8080 by default, or with whatever port you specify in a PORT variable.


michael-watson
PROOP

10 months ago

thank you! I can make that all work, no issues on my end


10 months ago

Sounds good!


10 months ago

!s


Status changed to Solved brody 10 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...