Got it?
My railway app is not getting linked with my domain.
Hello everyone. I am new to programming and railway and whole making websites and setting up domain things. I read the available guides I could find from railway docs and here is what I did so far:
I purchased a domain from godaddy. Then I created a cloudflare account. I changed the nameservers of my domain from my godaddy dashboard to the 2 nameserver addresses shown by cloudflare. Then after sometime I could see my domain on cloudflare and it showed my site is active on cloudflare. Then I went to my railway app settings and pressed "Add Custom Domain" and added my domain name (for example mydomain.com) and pressed "Add domain". Then it showed me a section saying "Configure DNS Records" and showed a CNAME value. Then I went to my cloudflare dashboard and then went to the DNS section and I tried to add the CNAME record as shown in railway by adding a "@" as the name and the target as the value which was shown in railway. Then when I pressed add, it did not get added and showed an error as "Cannot add DNS records with the same name". There was already two CNAME records (one with the name _domainconnect and one with www) in my DNS section along with two A records (The name of them was my domain's name and the contents were some ip address). So after this error, I tried to add the CNAME record again by deleting the existing two of my CNAME records but it still showed the same error. (It linked to me the guide https://developers.cloudflare.com/dns/manage-dns-records/troubleshooting/records-with-same-name). I will post the other part in the first comment. Discord says too long.
42 replies