Custom domain
andreisovidiu
HOBBYOP

a year ago

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?

Solved

63 Replies

andreisovidiu
HOBBYOP

a year ago

N/A


a year ago

Hey @soacm, 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/


andreisovidiu
HOBBYOP

a year ago

Am I allowed to do so even if the domain was purchased through godaddy?


andreisovidiu
HOBBYOP

a year ago

@uxuz


a year ago

Yes, while I haven't used Godaddy myself, I have successfully guided other users with the same problem.


andreisovidiu
HOBBYOP

a year ago

Good, thank you


andreisovidiu
HOBBYOP

a year ago

It could be added as a warning


a year ago

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?


andreisovidiu
HOBBYOP

a year ago

yes


a year ago

I see, would you mind opening a <#1157406325593096264> thread regarding this?


andreisovidiu
HOBBYOP

a year ago

Done, thank you


andreisovidiu
HOBBYOP

a year ago

An A, AAAA, or CNAME record with that host already exists. For more details, refer to .


andreisovidiu
HOBBYOP

a year ago

@uxuz This is the error I am receving when adding a CNAME @ record


andreisovidiu
HOBBYOP

a year ago

Any suggestion?


andreisovidiu
HOBBYOP

a year ago

1355638472899170300


andreisovidiu
HOBBYOP

a year ago

Current records


andreisovidiu
HOBBYOP

a year ago

easylanguagecoder.com is the domain


a year ago

Please delete the A records in this case


andreisovidiu
HOBBYOP

a year ago

Please explain why


a year ago

Because they are conflicting as per the error you just mentioned


andreisovidiu
HOBBYOP

a year ago

Deleting both of them?


a year ago

Yes


andreisovidiu
HOBBYOP

a year ago

They were copied from godaddy I guess. What do you think they were pointing to?


andreisovidiu
HOBBYOP

a year ago

Trying to get my head around it


andreisovidiu
HOBBYOP

a year ago

CNAME was added successfully


andreisovidiu
HOBBYOP

a year ago

Hence only these two records are enough?

1355640123152273400


a year ago

I suppose that it is for showing their own parking page.


a year ago

yes


andreisovidiu
HOBBYOP

a year ago

Thank you. I guess I have to wait for them to propagate




andreisovidiu
HOBBYOP

a year ago

1355641103369638100


andreisovidiu
HOBBYOP

a year ago

Should be good


a year ago

No, it has to be Full and not Full (strict)


andreisovidiu
HOBBYOP

a year ago

Modified, thank you


a year ago

Can you confirm that your application is now reachable?


andreisovidiu
HOBBYOP

a year ago

1355642211320201200


andreisovidiu
HOBBYOP

a year ago

It is not


andreisovidiu
HOBBYOP

a year ago

Should I add it again in the UI and allow it to detect cloudflare?

1355643344558227500


a year ago

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.

1355643564553404400


andreisovidiu
HOBBYOP

a year ago

Ok thank you I receive the error 400 as well


a year ago

Interesting, did you add the domain before changing your nameservers to Cloudflare's?


andreisovidiu
HOBBYOP

a year ago

Yes


andreisovidiu
HOBBYOP

a year ago

Just added the domain again and still getting same message on the railway ui


a year ago

Did you also add the CNAME record again?


andreisovidiu
HOBBYOP

a year ago

Yes


andreisovidiu
HOBBYOP

a year ago

1355647176684081400


andreisovidiu
HOBBYOP

a year ago

The new one


a year ago

Hey, can you try accessing https://easylanguagecoder.com/ again now?


andreisovidiu
HOBBYOP

a year ago

I can reach the website now but I still get the same message in the ui


andreisovidiu
HOBBYOP

a year ago

1355647451683492000


andreisovidiu
HOBBYOP

a year ago

Yes that was my fault and had to add the new domain to the project's settings


andreisovidiu
HOBBYOP

a year ago

"record not yet detected"


andreisovidiu
HOBBYOP

a year ago

Sorry for all the messages but shouldnt https://www.easylanguagecoder.com/ be working as well?


a year ago

You didn't add the www subdomain or create a redirect rule in Cloudflare.


andreisovidiu
HOBBYOP

a year ago

Doesnt the second record take care of that?


a year ago

No, you will have to add it too


andreisovidiu
HOBBYOP

a year ago

ok thank you. Last question, should the railway ui message update itself or is it a bug?


a year ago

It will be updated, however this may take some time


andreisovidiu
HOBBYOP

a year ago

Appreciate your help, Any way I can leave a positive review for the support you gave?


a year ago

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.


a year ago

In any case, I'll mark this thread as solved for now. 🙂


a year ago

!s


Status changed to Solved uxuz 11 months ago


Loading...