R
Railway•15mo ago
PEgaz

Custom domain with A record (not CNAME record)

Hi, I want to add a custom domain in one of my projects. Docs says I need to add a CNAME record in my provider. Unfortunately it's not a subdomain but main domain and my provider told me I need to use A record instead of CNAME ... so I wanted to do it, but ... record A needs IP address to be inserted, not an address. So please help me what IP address I need to provide ? project ID: a6c82679-0cee-4169-9d24-90060e2cc48a Looking forward to your help PEgaz
Solution:
you won't be able to use an IP address because the IP address of the deployments are dynamic and shared, and a new deployment has a chance of having a different IP than the last one, this is why you do need to use a CNAME, and you will need to use nameservers that support root level cname aliases, namecheap, cloudflare, dnsimple, etc
Jump to solution
5 Replies
Percy
Percy•15mo ago
Project ID: a6c82679-0cee-4169-9d24-90060e2cc48a
PEgaz
PEgaz•15mo ago
project ID: a6c82679-0cee-4169-9d24-90060e2cc48a
Solution
Brody
Brody•15mo ago
you won't be able to use an IP address because the IP address of the deployments are dynamic and shared, and a new deployment has a chance of having a different IP than the last one, this is why you do need to use a CNAME, and you will need to use nameservers that support root level cname aliases, namecheap, cloudflare, dnsimple, etc
PEgaz
PEgaz•15mo ago
Thank you for answer. It's a pity, I don't want to have another provider just for one domain only for this purpose 😦 We'll see how it goes, thanks again.
Brody
Brody•15mo ago
oh you dont need to transfer the domain, you only need to use their nameservers
Want results from more Discord servers?
Add your server