R
Railway•14mo ago
woods

Issues setting the root domain through google domains

Hello, this is my first time hosting to a custom domain so I may be missing something basic. I set the 'www' cname fine and I can access my site through 'www.mysite.com' but when I try to add the root following the railway instructions so I can access my site by typing 'mysite.com' things don't go right. Google first just says 'Leave this empty if you want the root domain'. And then when I leave it empty Google says, 'can't add cname records for the root domain". Any help would be appreciated.
No description
No description
No description
Solution:
google domains does not support root level cnames, you would have to use cloudflare's nameservers, they have a guide for that here https://developers.cloudflare.com/dns/zone-setups/full-setup/setup/ note, this does not involve any domain transfers...
Jump to solution
8 Replies
Percy
Percy•14mo ago
Project ID: d3ab65ef-c5a0-4afa-8c3d-f57a3eec8e1a
woods
woodsOP•14mo ago
ProjectID: d3ab65ef-c5a0-4afa-8c3d-f57a3eec8e1a
Solution
Brody
Brody•14mo ago
google domains does not support root level cnames, you would have to use cloudflare's nameservers, they have a guide for that here https://developers.cloudflare.com/dns/zone-setups/full-setup/setup/ note, this does not involve any domain transfers
woods
woodsOP•14mo ago
Thank you, I'll go do that.
woods
woodsOP•14mo ago
I went and set it up through cloudflare, changed the name servers, got an email from cloudflare saying my site is active. Site is available fine on www. But still not the root. Railway says 'waiting for DNS update." Would that take longer to propagate? Or since www is up the other should be as well.
Brody
Brody•14mo ago
show me your custom domains in railway show me the dns settings in cloudlfare https://docs.railway.app/deploy/exposing-your-app#provider-specific-instructions
woods
woodsOP•14mo ago
bless you brody
Brody
Brody•14mo ago
🙂
Want results from more Discord servers?
Add your server