7 days 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.
0 Replies
7 days ago
It isn't possible to have two Railway domains for one service. You can have multiple custom domains though
7 days ago
I'm unsure if it's possible to point one domain at one port and a second domain at another.
I also have a healthcheck available, but sounds like a route on the url is preferred to a specific port
7 days ago
Yes
7 days ago
Health checks are done with port 8080 by default, or with whatever port you specify in a PORT
variable.
6 days ago
Sounds good!
6 days ago
!s
Status changed to Solved brody • 6 days ago