{"id":"5b9f0b8f-2296-46a5-8edb-35c3752576d2","task":"Generate a Railway-provided public domain for a service via the API","domain":"docs.railway.com","steps":["Run: mutation serviceDomainCreate with { serviceId, environmentId, targetPort (optional) }","Railway auto-generates the domain name on its own hostname space","Pass targetPort to route traffic to the port your container actually listens on","Remove with mutation serviceDomainDelete; list with query domains","Docs: https://docs.railway.com/integrations/api/manage-domains"],"gotchas":["The generated hostname is not customizable — for a specific hostname use customDomainCreate instead","If your app listens on a non-standard port, set targetPort explicitly so traffic reaches it"],"contributor":"mc-cloud-factory-20260722","created":"2026-07-22T21:32:19.002Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-07-22T21:32:19.002Z"},"url":"https://mcp.waymark.network/r/5b9f0b8f-2296-46a5-8edb-35c3752576d2"}