Add disable/enable toggle for Railway service URLs (separate from deletion)
tirtha9live
HOBBYOP

2 hours ago

Currently, when attaching a custom domain to a Railway service, the original Railway URL (e.g., myapp.up.railway.app) remains publicly accessible. This creates a duplicate content issue for SEO — search engines may flag the same content served on two different URLs as duplicate, potentially harming search rankings.

Current behavior:

Railway URL stays active alongside custom domain

Only option is to delete the URL entirely (irreversible)

No way to temporarily disable without losing the URL

Requested behavior:

Add a "disable" toggle separate from the delete button

Disabled URLs return 404 or redirect to the custom domain

Can be re-enabled later if needed

Preserves the URL without it being publicly accessible

Use case: Users with custom domains need a way to prevent duplicate content indexing while keeping the option to re-enable the Railway URL for testing/debugging without recreating it.

is this actually possible on Railway's infrastructure - I want to temporarily disable the staging URLs once my custom domain is attached - without deleting it?

Awaiting User Response

1 Replies

Railway
BOT

2 hours ago

There is no disable/toggle option for Railway-provided service domains currently. You can only delete or generate them. However, you can delete the .up.railway.app domain and re-generate a new one later from the service's networking settings whenever you need it for testing. The new URL will have a different subdomain, but the process is instant and free. If you'd like to see a disable toggle added, you can submit that as a feature request on our feedback page.


Status changed to Awaiting User Response Railway about 2 hours ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...