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