When adding a Custom Domain How to serve it from two servers
rthidden
PROOP

10 months ago

Hello,

I have an app that I deployed to Railway, the index page for example.com will be hosted elsewhere. How do we point a link to the app on Railway so the URL is example.com/user_info which is the first screen of the app?

4 Replies

rthidden
PROOP

10 months ago

ed27b8ff-58b4-4f99-b845-fdcc0e8554d4


passos
MODERATOR

10 months ago

Hey, the only way I can see this working is by using a reverse proxy. You could, for example, use Nginx Proxy Manager template for it:


passos
MODERATOR

10 months ago

May I ask why not host the entire website on Railway? 👀


rthidden
PROOP

10 months ago

I may suggest that.

My client wanted to use their own landing page rather than the standard one that comes with the app.

But I do think it is easier to host it all on Railway or alternatively just use the Railway URLs.

Thanks for the tip on the Reverse Proxy.


Loading...