#Custom domain
64 messages · Page 1 of 1 (latest)
Project ID: N/A
N/A
Hey @manic urchin, please change your domain's nameservers to Cloudflare's and let Cloudflare handle it, as they support CNAME flattening.
https://developers.cloudflare.com/dns/zone-setups/full-setup/setup/
Am I allowed to do so even if the domain was purchased through godaddy?
@spiral flint
Yes, while I haven't used Godaddy myself, I have successfully guided other users with the same problem.
Do you mean like a warning in the UI for when someone attempts to add a root domain with an incompatible DNS provider such as Godaddy?
yes
I see, would you mind opening a #1157406325593096264 thread regarding this?
Done, thank you
An A, AAAA, or CNAME record with that host already exists. For more details, refer to https://developers.cloudflare.com/dns/manage-dns-records/troubleshooting/records-with-same-name/.
@spiral flint This is the error I am receving when adding a CNAME @ record
Any suggestion?
Current records
easylanguagecoder.com is the domain
Please delete the A records in this case
Please explain why
Because they are conflicting as per the error you just mentioned
Deleting both of them?
Yes
They were copied from godaddy I guess. What do you think they were pointing to?
Trying to get my head around it
CNAME was added successfully
Hence only these two records are enough?
I suppose that it is for showing their own parking page.
yes
Thank you. I guess I have to wait for them to propagate
please set the Cloudflare SSL/TLS settings to Full https://docs.railway.com/guides/public-networking#provider-specific-instructions
No, it has to be Full and not Full (strict)
Modified, thank you
Can you confirm that your application is now reachable?
You can try it if you want to, but it looks like that everything is configured correctly, as I can access it via Google's DNS servers.
Ok thank you I receive the error 400 as well
Interesting, did you add the domain before changing your nameservers to Cloudflare's?
Did you also add the CNAME record again?
Hey, can you try accessing https://easylanguagecoder.com/ again now?
Yes that was my fault and had to add the new domain to the project's settings
"record not yet detected"
Sorry for all the messages but shouldnt https://www.easylanguagecoder.com/ be working as well?
You didn't add the www subdomain or create a redirect rule in Cloudflare.
Doesnt the second record take care of that?
No, you will have to add it too
ok thank you. Last question, should the railway ui message update itself or is it a bug?
It will be updated, however this may take some time
Appreciate your help, Any way I can leave a positive review for the support you gave?
I am not aware of a way to leave a review via Discord, you may try https://station.railway.com/questions/custom-domain-6e3f2fac if you really wish to.
I am trying to use my custom domain and when configuring the DNS records (type: CNAME, Name: @), Godaddy does not allow it. After searching for a solution I found that the problem is due to a fundamental DNS limitation: CNAME records cannot exist at the root domain level (using @) according to RFC standards. Any suggestion?
In any case, I'll mark this thread as solved for now. 🙂
!s