2 months ago
Godaddy says get IP from railway. I got the IP using DNSChecker.com, but godaddy is not accepting either. can you please help?
Pinned Solution
2 months ago
godaddy doesn't support cname records at the root domain and railway doesn't give you static ips for a records. that's why www works but the root doesn't.
you gotta use cloudflare's free plan as your dns. switch your nameservers from godaddy to cloudflare, then add a cname record in cloudflare pointing @ to your railway domain. cloudflare does "cname flattening" which makes it work at the root.
so basically: godaddy nameservers → cloudflare nameservers, then set up dns in cloudflare instead. this is the only way for apex domains with them
hope this was clear
4 Replies
2 months ago
godaddy doesn't support cname records at the root domain and railway doesn't give you static ips for a records. that's why www works but the root doesn't.
you gotta use cloudflare's free plan as your dns. switch your nameservers from godaddy to cloudflare, then add a cname record in cloudflare pointing @ to your railway domain. cloudflare does "cname flattening" which makes it work at the root.
so basically: godaddy nameservers → cloudflare nameservers, then set up dns in cloudflare instead. this is the only way for apex domains with them
hope this was clear
2 months ago
let me know if you need extra help
2 months ago
You can use GoDaddy's domain forwarding feature to automatically reroute requests for site.com to www.site.com. This works by having GoDaddy accept requests for site.com on your behalf, then they perform an HTTP redirect to www.site.com
Under the DNS settings for your domain, select the "Forwarding" tab. Then, under the settings for "Domain", click Add Forwarding:
Then, simply enter www.site.com. I would recommend configuring this for HTTPs:
Note that if you simply want to experiment with this, I would advise using Temporary (302) for the forward type - this way it won't be forever
cached by user browsers.
ilyassbreth
let me know if you need extra help
2 months ago
Thanks. It's fixed.
Status changed to Solved brody • 2 months ago