DNS settings CNAME

ivan4otoHOBBY

a year ago

Following the documentation of Railway I created a root domain (racerating.bg) and a www (www.racerating.bg) then in the DNS settings on my provider I entered the values (addresses) provided by Railway, marked them as CNAME (alias) records, and set the hosts to the corresponding values (racerating.bg and www.racerating.bg).
The status of racerating.bg from the Railway command panel is "Issuing TLS certificate"
And the status of www.racerating.bg is "Waiting for DNS update".
The tech support on my domain provider (superhosting.bg) told me I need to obtain an IP and add it as "A record (IPV4)" on the domain provider DNS settings.
Am I on the right track? Any help would be greatly appreciated.

Solved

5 Replies

ivan4otoHOBBY

a year ago

Project ID:
fff2116a-2755-4dfe-87ed-0d81ea0fc5a4


a year ago

Your DNS provider would be wrong there, with Railway you can only use CNAMEs, not A or ALIAS types. From the information you provided, you DNS provider does not support CNAMEs at the root, for that you would need to switch your nameservers to Cloudflare, they have a guide for that here -

https://developers.cloudflare.com/dns/zone-setups/full-setup/setup/


Status changed to Solved railway[bot] about 1 year ago


ivan4otoHOBBY

a year ago

I contacted them again and they told me that what Railway is asking is incorrect configuration according to the standard RFC 1912 (2.4 CNAME records). Since it's an nationalized domain (.bg) as far as I know Cloudflare doesn't support transfers of nationalized domains. Do I have any other options here?
Thanks for the support!


a year ago

There is nothing wrong with doing CNAME flattening at the root, I would recommend not taking advice from that support person again.

As mentioned, you would only need to use Cloudflare's nameservers, I did not say you needed to transfer the domain anywhere, please see Cloudflare's guide I linked.


ivan4otoHOBBY

a year ago

Thanks! Issue resolved by using Cloudflare's nameservers.


DNS settings CNAME - Railway Help Station