Custom domain

andreisovidiu
HOBBY

5 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

0 Replies

andreisovidiu
HOBBY

5 months ago

N/A


5 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
HOBBY

5 months ago

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


andreisovidiu
HOBBY

5 months ago

@uxuz


5 months ago

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


andreisovidiu
HOBBY

5 months ago

Good, thank you


andreisovidiu
HOBBY

5 months ago

It could be added as a warning


5 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
HOBBY

5 months ago

yes


5 months ago

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


andreisovidiu
HOBBY

5 months ago

Done, thank you


andreisovidiu
HOBBY

5 months ago

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


andreisovidiu
HOBBY

5 months ago

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


andreisovidiu
HOBBY

5 months ago

Any suggestion?


andreisovidiu
HOBBY

5 months ago

1355638472899170300


andreisovidiu
HOBBY

5 months ago

Current records


andreisovidiu
HOBBY

5 months ago

easylanguagecoder.com is the domain


5 months ago

Please delete the A records in this case


andreisovidiu
HOBBY

5 months ago

Please explain why


5 months ago

Because they are conflicting as per the error you just mentioned


andreisovidiu
HOBBY

5 months ago

Deleting both of them?


5 months ago

Yes


andreisovidiu
HOBBY

5 months ago

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


andreisovidiu
HOBBY

5 months ago

Trying to get my head around it


andreisovidiu
HOBBY

5 months ago

CNAME was added successfully


andreisovidiu
HOBBY

5 months ago

Hence only these two records are enough?

1355640123152273400


5 months ago

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


5 months ago

yes


andreisovidiu
HOBBY

5 months ago

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



5 months ago


andreisovidiu
HOBBY

5 months ago

1355641103369638100


andreisovidiu
HOBBY

5 months ago

Should be good


5 months ago

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


andreisovidiu
HOBBY

5 months ago

Modified, thank you


5 months ago

Can you confirm that your application is now reachable?


andreisovidiu
HOBBY

5 months ago

1355642211320201200


andreisovidiu
HOBBY

5 months ago

It is not


andreisovidiu
HOBBY

5 months ago

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

1355643344558227500


5 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
HOBBY

5 months ago

Ok thank you I receive the error 400 as well


5 months ago

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


andreisovidiu
HOBBY

5 months ago

Yes


andreisovidiu
HOBBY

5 months ago

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


5 months ago

Did you also add the CNAME record again?


andreisovidiu
HOBBY

5 months ago

Yes


andreisovidiu
HOBBY

5 months ago

1355647176684081400


andreisovidiu
HOBBY

5 months ago

The new one


5 months ago

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


andreisovidiu
HOBBY

5 months ago

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


andreisovidiu
HOBBY

5 months ago

1355647451683492000


andreisovidiu
HOBBY

5 months ago

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


andreisovidiu
HOBBY

5 months ago

"record not yet detected"


andreisovidiu
HOBBY

5 months ago

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


5 months ago

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


andreisovidiu
HOBBY

5 months ago

Doesnt the second record take care of that?


5 months ago

No, you will have to add it too


andreisovidiu
HOBBY

5 months ago

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


5 months ago

It will be updated, however this may take some time


andreisovidiu
HOBBY

5 months ago

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


5 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.


5 months ago

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


5 months ago

!s


Status changed to Solved uxuz 5 months ago


Custom domain - Railway Help Station