Custom domain request forwarding
Hello,
I would like to do the following in my railway project:
Connect 2 custom domains to a web app.
domain1 : longdomain.com
domain2: lngd.io
The first domain needs to point to the web app.
longdomain.com -> example.up.railway.app
The second domain needs to point to a specific route of the web app:
lngd.io -> example.up.railway.app/api
So when a request gets forwarded like so:
lngd.io/<dynamic-value> -> example.up.railway.app/api/<dynamic-value>
Is what I am trying to do for domain2 possible on railway?
3 Replies