10 months ago
Why custom domains for PR environments redirect to Railway generated domains? For manually created environments everything works fine.
5 Replies
10 months ago
Hey! We don't support custom domains for PR environments yet.
Feel free to upvote this if you'd like the feature, it will help us prioritize what to build :)
Status changed to Awaiting User Response railway[bot] • 10 months ago
9 months ago
Well, but it does allow adding custom domains and for some PRs it did work before.
Status changed to Awaiting Railway Response railway[bot] • 10 months ago
9 months ago
You can add custom domains to a service in a PR environment after the fact, but there's currently no way to specify a root domain to use for services within PR environments.
As for the being redirected thing, I would recommend re-deploying the service after adding a custom domain to it so it can be "aware" of the new domain.
Status changed to Awaiting User Response railway[bot] • 10 months ago
9 months ago
Thanks, redeployment helped
Status changed to Awaiting Railway Response railway[bot] • 10 months ago
Status changed to Awaiting User Response railway[bot] • 10 months ago