R
Railwayβ€’9mo ago
kenken64

configure custom domain with godaddy

Am I doing this correctly ?
No description
No description
33 Replies
Percy
Percyβ€’9mo ago
Project ID: N/A
Brody
Brodyβ€’9mo ago
GoDaddy does not support root level cnames, you'd have to use cloudflare's nameservers
kenken64
kenken64β€’9mo ago
Any idea how it is being done ? Any guideline ?
Brody
Brodyβ€’9mo ago
oh sorry my bad, cloudflare has docs for that https://developers.cloudflare.com/dns/zone-setups/full-setup/setup/
kenken64
kenken64β€’9mo ago
After transferring to cloudflare besides the CNAME how about A record ?
kenken64
kenken64β€’9mo ago
No description
Brody
Brodyβ€’9mo 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β€’9mo 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β€’9mo ago
they are already using cloudflare
BrianJM
BrianJMβ€’9mo ago
Missed that.
Brody
Brodyβ€’9mo ago
no worries πŸ™‚
BrianJM
BrianJMβ€’9mo 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β€’9mo 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
kenken64β€’9mo ago
Do I need to wait for propagation?
Brody
Brodyβ€’9mo ago
have you made the changes suggested in this docs section?
kenken64
kenken64β€’9mo 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β€’9mo ago
please have a look at this docs section
kenken64
kenken64β€’9mo ago
I did .. everything accordingly Still cannot get my domain resolved to railway
Brody
Brodyβ€’9mo 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
kenken64β€’9mo ago
No description
kenken64
kenken64β€’9mo ago
Yes Under railway it detected
Brody
Brodyβ€’9mo ago
show me your cloudflare ssl/tls settings
kenken64
kenken64β€’9mo ago
No description
Brody
Brodyβ€’9mo ago
as the docs suggested, please set it to full
kenken64
kenken64β€’9mo ago
Ok
Brody
Brodyβ€’9mo ago
and for future reference, please always read all docs links you are sent when someone is trying to help you
kenken64
kenken64β€’9mo ago
Sorry πŸ˜” Quite new on this ..
Brody
Brodyβ€’9mo ago
i know you just want this to work, but reading docs really do help
kenken64
kenken64β€’9mo ago
Thanks it works now
kenken64
kenken64β€’9mo ago
No description
Brody
Brodyβ€’9mo ago
awsome
kenken64
kenken64β€’9mo ago
You make my day !!
Brody
Brodyβ€’9mo ago
thank you πŸ™‚
Want results from more Discord servers?
Add your server
More Posts
How to keep old deployment active if it still has an on going task?Hi Railway.app Team, I'm currently facing an issue on the platform related to the handling of ongoiIs there way to switch to top up wallet option?Hello, I have added my credit card before and there were an option to go for a top-up to wallet paymApp build in us-west1 despite region variable being set to europe-west4Hi, I was wondering why all of a sudden the latency to the DB was jumping up and I just saw in the bStruggling to deploy a rails appGetting quite an obscure error when trying to deploy a rails app. Doesn't give me much info to diagnMongoDB Atlas latencyHey, I am experimenting using Railway for one of my workloads that connects to a MongoDB cluster rHow to specify a fixed version for a nix packageIs there a way to specify a fixed version for `nixPkgs`? something like this: nixPkgs = ["...", "zliDeploying a mono repo, python backend, nextjs frontend, SQL databaseI'm currently trying to deploy my repo with the following setup. Python flask API - /backend direcERROR: failed to solve: process "/bin/bash -ol pipefail -c pnpm i --frozen-lockfile" did not completMy servers has started failing their builds lately and I haven't been able to figure out why yet. B.net7 restore error while deployingHi guys, I'm trying to deploy app in .net 7 Can you please hint me, how can i solve problem of keeStart command for docker imageIs there any way to provide launch command for the container? Command which I'm talking about looks