2 months ago
it gave me cname : @ and go daddy have a prefixed value of @ so it doesnt work
21 Replies
2 months ago
This thread has been opened as a bounty so the community can help solve it.
Status changed to Open Railway • about 2 months ago
2 months ago
I'd recommend migrating to Cloudflare's DNS.
https://developers.cloudflare.com/dns/zone-setups/full-setup/setup/
2 months ago
cname cant exist at a domains root, thats a dns rule not a godaddy or railway bug, its because the root also needs SOA/NS records too
you can read it here : https://betterstack.com/community/questions/why-cant-cname-be-used-at-the-root-of-domain/
if you dont wanna switch dns providers: point www to railway with a cname, then use godaddy's domain forwarding to redirect your bare domain to www with a 301. only catch is the url bar will show www.yourdomain.com when someone visits the root
manuproject
cname cant exist at a domains root, thats a dns rule not a godaddy or railway bug, its because the root also needs SOA/NS records too you can read it here : https://betterstack.com/community/questions/why-cant-cname-be-used-at-the-root-of-domain/ if you dont wanna switch dns providers: point www to railway with a cname, then use godaddy's domain forwarding to redirect your bare domain to www with a 301. only catch is the url bar will show www.yourdomain.com when someone visits the root
2 months ago
can u tell me how
elbannageorge
can u tell me how
2 months ago
You'd add the domain as www.<YOUR_DOMAIN> in Railway instead of just your domain.
2 months ago
You'd then create a forwarding rule in your dashboard.
https://www.godaddy.com/help/forward-my-godaddy-domain-12123
Although I'd recommend migrating to Cloudflare's DNS, as they also provide a vast amount of other features that may become useful.
2 months ago
if you feel its kinda complicated i think you can follow the mod advise switching to cloudflare DNS
0x5b62656e5d
You'd add the domain as `www.<YOUR_DOMAIN>` in Railway instead of just your domain.
2 months ago
now i made it and it worked on go daddy but now it still when i type www. it still dont work
elbannageorge
now i made it and it worked on go daddy but now it still when i type www.<domain> it still dont work
2 months ago
can you share a screenshot that will make us understand better what you trying to explain
2 months ago
did you also add www.yourdomain.com as a custom domain inside railway itself (service settings → networking → domains)? the godaddy cname only handles dns, railway still needs to know that hostname belongs to your service or it'll reject the request even if dns is pointing correctly
0x5b62656e5d
Can you define "still doesn't work"?
2 months ago
Attachments
elbannageorge

2 months ago
Attachments
manuproject
did you also add www.yourdomain.com as a custom domain inside railway itself (service settings → networking → domains)? the godaddy cname only handles dns, railway still needs to know that hostname belongs to your service or it'll reject the request even if dns is pointing correctly
2 months ago
Yes i did
0x5b62656e5d
Did you add the CNAME and TXT record to Godaddy?
2 months ago
Yes i did this
2 months ago
Can you show a screenshot of your DNS page?
I wasn't able to find any DNS records associated with the domain you're using.
0x5b62656e5d
Can you show a screenshot of your DNS page? I wasn't able to find any DNS records associated with the domain you're using.
2 months ago
Attachments
2 months ago
I'd check if your domain was typed correctly. I'm not able to find anything on el-banna.store, let alone www.el-banna.store.
elbannageorge

2 months ago
check inside railway and see if its correspond
manuproject
check inside railway and see if its correspond
2 months ago
They are the same in both
elbannageorge
They are the same in both
2 months ago
try to copy and paste from godaddy direct to railway dont type it manually
also check the mod is saying they cant find any dns records of the doman re-verify