a year ago
Hi, apologies this is probably a silly question but i want to make sure i do this right to prevent my service from going down
I want to redirect "example.com" to "www.example.com". right now, i have www configured in railway and everything is cool but i don't have the redirect for example.com to www.example.com configured. how would i go about this?
18 Replies
a year ago
in 2025 why is there a need to redirect to www, if anything you would redirect away from www
a year ago
are you using cloudflare?
a year ago
and do you have both the root domain and www subdomain added to your railway service?
a year ago
add both, and then setup a page rule in cloudflare
out of curiosity since im adding the root domain to railway as well why the need for the cf page rule
a year ago
railway doesnt provide a way for you to setup redirects
a year ago
but you still need the root domain there for ssl
a year ago
hell yeah, love to hear it
a year ago
!s
Status changed to Solved brody • about 1 year ago