5 months ago
As the title suggests, I would like to setup a www redirect to the root domain. I tried adding both domains on railway & then redirecting via cname aswell. That said it is not working.
How would you go about it ?
3 Replies
5 months ago
It depends on whether your DNS provider supports DNS Flattening and dynamic ALIAS records. If not, you can either redirect from your www subdomain to your root domain in your code, or follow our guide here to set it up via Cloudflare.
Status changed to Awaiting User Response railway[bot] • 5 months ago
5 months ago
Thank you, I've tried the dns redirect but it is not working for some reason. I'll check via code.
Status changed to Awaiting Railway Response railway[bot] • 5 months ago
5 months ago
Thank you for the update. Let us know how it goes when you do the redirect via code.
Status changed to Awaiting User Response railway[bot] • 5 months ago
Status changed to Awaiting Railway Response railway[bot] • 2 months ago
Status changed to Closed brody • 2 months ago