3 months ago
Hi, I’m trying to connect my custom domain in Railway. My domain uses www, but Railway keeps giving me @ as the CNAME type. Since GoDaddy doesn’t allow me to use @, I used www instead. Is that okay?
35 Replies
is this already in progress
Attachments
3 months ago
You'll have to create a custom domain for www instead of @ on Railway
3 months ago
GoDaddy doesn't support CNAME flattening so you're indeed forced to use www or similar, I believe you could create a redirect on GoDaddy so that @ goes to www
Attachments
3 months ago
You need to add a custom domain for gameledger.online
im using a trial to test the railway if it is good im on my limit rn, can i delete the railway.app?
3 months ago
You could try, but I think that's a separate
3 months ago
You can also just stick to either www or @
3 months ago
and create a redirect on e.g. Cloudflare to go to @ or www
here's the scenario of my side rn,
in my railway my custom domain is www, in cloudflare i have @ and www using the same content of railway
Attachments
3 months ago
Change the CNAME @ record on Cloudflare to be an A record pointing to 192.0.0.1 (proxy enabled)
Go to redirect rules (on Cloudflare)
3 months ago
configure it like this, but replace astrid.ovh with gameledger.online
and URL redirect to https://www.gameledger.online
Attachments
this is right?
Attachments
3 months ago
yes
3 months ago
not at all
3 months ago
gameledger.online will only be used to redirect to www.gameledger.online, which resolves to Railway (and loads your website)
3 months ago
rules, then find "redirect rules"
Attachments
3 months ago
.
3 months ago
configure it like this, but replace
astrid.ovhwithgameledger.onlineand URL redirect to
https://www.gameledger.online
htttps://ga
Attachments
3 months ago
https://gameledger.online should now redirect to https://www.gameledger.online
Status changed to Solved passos • 2 months ago