#configure custom domain with godaddy
43 messages · Page 1 of 1 (latest)
Project ID: N/A
GoDaddy does not support root level cnames, you'd have to use cloudflare's nameservers
oh sorry my bad, cloudflare has docs for that
https://developers.cloudflare.com/dns/zone-setups/full-setup/setup/
you do not use A records for anything railway related, otherwise stuff will break
please have a look at this docs section
https://docs.railway.app/deploy/exposing-your-app#provider-specific-instructions
The only way you can use an A record is if you have a background process that programmatically resolves the CNAME record (to an IP) and updates the DNS server A record (e.g., API, like with DDNS).
This is a poor man's version of what Cloudflare is doing.
Of course, GoDaddy doesn't have an API so you'd need to moving to a DNS provider that offers an API. At that point, you could just use Cloudflare instead (unless you have a good reason not to).
they are already using cloudflare
Missed that.
no worries 🙂
@native meteor What kind of stuff will break that you know of? Do the edge IPs change often?
For example: I currently have a prod domain that resolves to global-edge.gcp.production.rlwy.net [34.86.119.124]. Would this rotate regularly?
I'm aware of things that can break but I am curious what is known to break (and the frequency).
Would this rotate regularly?
regularly? no probably not, but it could rotate.
im sure railway has more than one edge box per region or even some boxes on standby and if that ip ever changes your domain would no longer resolve to the proper location and youd get ssl errors and such, seen this many times where a user would just grab the ip address of the railway service domain and use that and all would work perfectly until it doesnt
Do I need to wait for propagation?
have you made the changes suggested in this docs section?
Yes change the nameserver at cloudflare and remove from godaddy
Added CNAME
What else ?
I remove all the A record does it cause any issue ?
At the cloudflare side
It's my first time doing this ...
please have a look at this docs section
have you made the changes that this docs section suggested you to make?
https://docs.railway.app/deploy/exposing-your-app#provider-specific-instructions
show me your cloudflare ssl/tls settings
as the docs suggested, please set it to full
Ok
and for future reference, please always read all docs links you are sent when someone is trying to help you
i know you just want this to work, but reading docs really do help
awsome
You make my day !!