R
Railwayβ€’15mo ago
kenken64

configure custom domain with godaddy

Am I doing this correctly ?
No description
No description
33 Replies
Percy
Percyβ€’15mo ago
Project ID: N/A
Brody
Brodyβ€’15mo ago
GoDaddy does not support root level cnames, you'd have to use cloudflare's nameservers
kenken64
kenken64OPβ€’15mo ago
Any idea how it is being done ? Any guideline ?
Brody
Brodyβ€’15mo ago
oh sorry my bad, cloudflare has docs for that https://developers.cloudflare.com/dns/zone-setups/full-setup/setup/
kenken64
kenken64OPβ€’15mo ago
After transferring to cloudflare besides the CNAME how about A record ?
kenken64
kenken64OPβ€’15mo ago
No description
Brody
Brodyβ€’15mo ago
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
BrianJM
BrianJMβ€’15mo ago
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).
Brody
Brodyβ€’15mo ago
they are already using cloudflare
BrianJM
BrianJMβ€’15mo ago
Missed that.
Brody
Brodyβ€’15mo ago
no worries πŸ™‚
BrianJM
BrianJMβ€’15mo ago
@Brody 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).
Brody
Brodyβ€’15mo ago
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
kenken64
kenken64OPβ€’15mo ago
Do I need to wait for propagation?
Brody
Brodyβ€’15mo ago
have you made the changes suggested in this docs section?
kenken64
kenken64OPβ€’15mo ago
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 ...
Brody
Brodyβ€’15mo ago
please have a look at this docs section
kenken64
kenken64OPβ€’15mo ago
I did .. everything accordingly Still cannot get my domain resolved to railway
Brody
Brodyβ€’15mo ago
have you made the changes that this docs section suggested you to make? https://docs.railway.app/deploy/exposing-your-app#provider-specific-instructions
kenken64
kenken64OPβ€’15mo ago
No description
kenken64
kenken64OPβ€’15mo ago
Yes Under railway it detected
Brody
Brodyβ€’15mo ago
show me your cloudflare ssl/tls settings
kenken64
kenken64OPβ€’15mo ago
No description
Brody
Brodyβ€’15mo ago
as the docs suggested, please set it to full
kenken64
kenken64OPβ€’15mo ago
Ok
Brody
Brodyβ€’15mo ago
and for future reference, please always read all docs links you are sent when someone is trying to help you
kenken64
kenken64OPβ€’15mo ago
Sorry πŸ˜” Quite new on this ..
Brody
Brodyβ€’15mo ago
i know you just want this to work, but reading docs really do help
kenken64
kenken64OPβ€’15mo ago
Thanks it works now
kenken64
kenken64OPβ€’15mo ago
No description
Brody
Brodyβ€’15mo ago
awsome
kenken64
kenken64OPβ€’15mo ago
You make my day !!
Brody
Brodyβ€’15mo ago
thank you πŸ™‚
Want results from more Discord servers?
Add your server