2 years 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
2 years ago
in 2025 why is there a need to redirect to www, if anything you would redirect away from www
2 years ago
are you using cloudflare?
2 years ago
and do you have both the root domain and www subdomain added to your railway service?
2 years 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
2 years ago
railway doesnt provide a way for you to setup redirects
2 years ago
but you still need the root domain there for ssl
2 years ago
hell yeah, love to hear it
2 years ago
!s
Status changed to Solved brody • over 1 year ago