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