a year ago
I need to use my Nextjs App on a custom domain, which works using CNAME as mentioned in the guide.
But when I open the app on the custom domain (say.. mydomain.com), there are requests going from that to the primary domain - mydomain-production.up.railway.app
Also, all libraries and services, (eg. Sentry, Google OAuth) think that the up.railway.app domain is domain that I'm using, even when I visit the site using the custom domain
2 Replies
a year ago
The issue here seems to be that the Nextjs server's address is the up.railway.app one.
So everytime the server has to call another service, the request originates from there and not from the custom domain.
This should not be the case. If my user accesses the app through the custom domain, then server should not refer the up.railway domain.
a year ago
Hey! No need to create duplicate threads across the help station and Discord. All Discord threads are synced with the help station, you can find your discord thread's help station link here!
Status changed to Closed adam • about 1 year ago

