Adding the railway URL to our website domain
yossiturgeman
PROOP

2 months ago

Hello Railway Community,

I need to add this application:

https://sbomator-production.up.railway.app/

to our website, under:

https:///eswlab.com/sbomator/app

Can you please guide me how to do it?

Thank you in advance

Yossi Turgeman

Solved$10 Bounty

Pinned Solution

You can only add subdomains, not routes as a custom domain.

Alternatively, you can set up routing rules in your registrar (or DNS service), or in your current application to redirect users to the Railway URL when the path matches /sbomator/app.

4 Replies

Railway
BOT

2 months ago

This thread has been opened as a bounty so the community can help solve it.

Status changed to Open Railway • 2 months ago


You can only add subdomains, not routes as a custom domain.

Alternatively, you can set up routing rules in your registrar (or DNS service), or in your current application to redirect users to the Railway URL when the path matches /sbomator/app.


You can set up a reverse proxy like Caddy for example to achieve this. Where Caddy routes traffic to a specific service based on the path.


yossiturgeman
PROOP

2 months ago

Is there a way to do so and keep my website online?

Or does it require to be down for a

bit?


Usually no, your website won't face any downtime.


Status changed to Solved brody • 2 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...