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.
11 Replies
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.
@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
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.
10 months ago
Sounds good!
10 months ago
!s
Status changed to Solved brody • 10 months ago