Custom domain
andreisovidiu
HOBBYOP

10 months 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

10 months ago

N/A


uxuz
MODERATOR

10 months 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

10 months ago

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


andreisovidiu
HOBBYOP

10 months ago

@uxuz


uxuz
MODERATOR

10 months ago

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


andreisovidiu
HOBBYOP

10 months ago

Good, thank you


andreisovidiu
HOBBYOP

10 months ago

It could be added as a warning


uxuz
MODERATOR

10 months 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

10 months ago

yes


uxuz
MODERATOR

10 months ago

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


andreisovidiu
HOBBYOP

10 months ago

Done, thank you


andreisovidiu
HOBBYOP

10 months ago

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


andreisovidiu
HOBBYOP

10 months ago

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


andreisovidiu
HOBBYOP

10 months ago

Any suggestion?


andreisovidiu
HOBBYOP

10 months ago

1355638472899170300


andreisovidiu
HOBBYOP

10 months ago

Current records


andreisovidiu
HOBBYOP

10 months ago

easylanguagecoder.com is the domain


uxuz
MODERATOR

10 months ago

Please delete the A records in this case


andreisovidiu
HOBBYOP

10 months ago

Please explain why


uxuz
MODERATOR

10 months ago

Because they are conflicting as per the error you just mentioned


andreisovidiu
HOBBYOP

10 months ago

Deleting both of them?


uxuz
MODERATOR

10 months ago

Yes


andreisovidiu
HOBBYOP

10 months ago

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


andreisovidiu
HOBBYOP

10 months ago

Trying to get my head around it


andreisovidiu
HOBBYOP

10 months ago

CNAME was added successfully


andreisovidiu
HOBBYOP

10 months ago

Hence only these two records are enough?

1355640123152273400


uxuz
MODERATOR

10 months ago

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


uxuz
MODERATOR

10 months ago

yes


andreisovidiu
HOBBYOP

10 months ago

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



uxuz
MODERATOR

10 months ago


andreisovidiu
HOBBYOP

10 months ago

1355641103369638100


andreisovidiu
HOBBYOP

10 months ago

Should be good


uxuz
MODERATOR

10 months ago

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


andreisovidiu
HOBBYOP

10 months ago

Modified, thank you


uxuz
MODERATOR

10 months ago

Can you confirm that your application is now reachable?


andreisovidiu
HOBBYOP

10 months ago

1355642211320201200


andreisovidiu
HOBBYOP

10 months ago

It is not


andreisovidiu
HOBBYOP

10 months ago

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

1355643344558227500


uxuz
MODERATOR

10 months 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

10 months ago

Ok thank you I receive the error 400 as well


uxuz
MODERATOR

10 months ago

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


andreisovidiu
HOBBYOP

10 months ago

Yes


andreisovidiu
HOBBYOP

10 months ago

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


uxuz
MODERATOR

10 months ago

Did you also add the CNAME record again?


andreisovidiu
HOBBYOP

10 months ago

Yes


andreisovidiu
HOBBYOP

10 months ago

1355647176684081400


andreisovidiu
HOBBYOP

10 months ago

The new one


uxuz
MODERATOR

10 months ago

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


andreisovidiu
HOBBYOP

10 months ago

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


andreisovidiu
HOBBYOP

10 months ago

1355647451683492000


andreisovidiu
HOBBYOP

10 months ago

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


andreisovidiu
HOBBYOP

10 months ago

"record not yet detected"


andreisovidiu
HOBBYOP

10 months ago

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


uxuz
MODERATOR

10 months ago

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


andreisovidiu
HOBBYOP

10 months ago

Doesnt the second record take care of that?


uxuz
MODERATOR

10 months ago

No, you will have to add it too


andreisovidiu
HOBBYOP

10 months ago

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


uxuz
MODERATOR

10 months ago

It will be updated, however this may take some time


andreisovidiu
HOBBYOP

10 months ago

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


uxuz
MODERATOR

10 months 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.


uxuz
MODERATOR

10 months ago

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


uxuz
MODERATOR

10 months ago

!s


Status changed to Solved uxuz 11 months ago


Loading...