custom domain error
ali-dev09
FREEOP
a year ago
I purchased a domain name at goDaady and trying to connect it to my service (i am in the trial plan) railway asks me to enter type CNAME and name @ and then a value but when i enter these values i get (Record data is invalid.) how to solve this problem
3 Replies
davepoon
PRO
a year ago
goDaddy does not support CNAME flattening or dynamic ALIAS records.
As recommended by Railway, you can change the goDaddy nameserver to point to Cloudflare's nameservers.
This will allow you to use a CNAME record.
- Create a Cloudflare account, it's free.
- Find the information about Cloudflare's nameservers (see the attached screenshot for help).
- Update your goDaddy nameserver https://www.godaddy.com/en-ca/help/edit-my-domain-nameservers-664
- Go back to Cloudflare and add your domain. Cloudflare will automatically scan and transfer all details.
- Go to the DNS->Records page, then you can add the CNAME as Railway suggested (https://docs.railway.com/guides/public-networking#custom-domains)
- Done!
Attachments
davepoon
PRO
a year ago
Does it solve your issue?
davepoon
PRO
a year ago
Hi ali-dev09, how's it going? If this ticket resolves your issue, could you please mark it as solved? Cheers.

