Custom domain
andreisovidiu
HOBBYOP

2 years 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

2 years ago

N/A


2 years 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

2 years ago

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


andreisovidiu
HOBBYOP

2 years ago

@uxuz


2 years ago

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


andreisovidiu
HOBBYOP

2 years ago

Good, thank you


andreisovidiu
HOBBYOP

2 years ago

It could be added as a warning


2 years 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

2 years ago

yes


2 years ago

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


andreisovidiu
HOBBYOP

2 years ago

Done, thank you


andreisovidiu
HOBBYOP

2 years ago

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


andreisovidiu
HOBBYOP

2 years ago

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


andreisovidiu
HOBBYOP

2 years ago

Any suggestion?


andreisovidiu
HOBBYOP

2 years ago

1355638472899170366


andreisovidiu
HOBBYOP

2 years ago

Current records


andreisovidiu
HOBBYOP

2 years ago

easylanguagecoder.com is the domain


2 years ago

Please delete the A records in this case


andreisovidiu
HOBBYOP

2 years ago

Please explain why


2 years ago

Because they are conflicting as per the error you just mentioned


andreisovidiu
HOBBYOP

2 years ago

Deleting both of them?


2 years ago

Yes


andreisovidiu
HOBBYOP

2 years ago

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


andreisovidiu
HOBBYOP

2 years ago

Trying to get my head around it


andreisovidiu
HOBBYOP

2 years ago

CNAME was added successfully


andreisovidiu
HOBBYOP

2 years ago

Hence only these two records are enough?

1355640123152273508


2 years ago

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


2 years ago

yes


andreisovidiu
HOBBYOP

2 years ago

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


2 years ago

easylanguagecoder.com


2 years ago


andreisovidiu
HOBBYOP

2 years ago

1355641103369638038


andreisovidiu
HOBBYOP

2 years ago

Should be good


2 years ago

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


andreisovidiu
HOBBYOP

2 years ago

Modified, thank you


2 years ago

Can you confirm that your application is now reachable?


andreisovidiu
HOBBYOP

2 years ago

1355642211320201306


andreisovidiu
HOBBYOP

2 years ago

It is not


andreisovidiu
HOBBYOP

2 years ago

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

1355643344558227456


2 years 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.

1355643564553404456


andreisovidiu
HOBBYOP

2 years ago

Ok thank you I receive the error 400 as well


2 years ago

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


andreisovidiu
HOBBYOP

2 years ago

Yes


andreisovidiu
HOBBYOP

2 years ago

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


2 years ago

Did you also add the CNAME record again?


andreisovidiu
HOBBYOP

2 years ago

Yes


andreisovidiu
HOBBYOP

2 years ago

1355647176684081294


andreisovidiu
HOBBYOP

2 years ago

The new one


2 years ago

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


andreisovidiu
HOBBYOP

2 years ago

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


andreisovidiu
HOBBYOP

2 years ago

1355647451683492041


andreisovidiu
HOBBYOP

2 years ago

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


andreisovidiu
HOBBYOP

2 years ago

"record not yet detected"


andreisovidiu
HOBBYOP

2 years ago

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


2 years ago

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


andreisovidiu
HOBBYOP

2 years ago

Doesnt the second record take care of that?


2 years ago

No, you will have to add it too


andreisovidiu
HOBBYOP

2 years ago

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


2 years ago

It will be updated, however this may take some time


andreisovidiu
HOBBYOP

2 years ago

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


2 years 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.


2 years ago

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


2 years ago

!s


Status changed to Solved uxuz • over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...