R
Railway8mo ago
TripleK

Custom domain help

I followed the railway guide to set up the custom domains. However, I am not able to do it correctly. I am using the cloudflare nameservers, but when I put the CNAMEs that Railway gives me in cloudflare, it does not detect them. The www.domain.com works because the CNAME is set in the domain registrar (Dondominio) and not in Cloudflare. Even so, when I access www.domain.com, it redirects me to the domain generated by Railway.
No description
19 Replies
Percy
Percy8mo ago
Project ID: N/A
Brody
Brody8mo ago
what domain are you trying to setup?
TripleK
TripleK8mo ago
fibbel.net
Brody
Brody8mo ago
show me your dns settings on cloudflare?
TripleK
TripleK8mo ago
No description
TripleK
TripleK8mo ago
The DNS settings
Brody
Brody8mo ago
the actual dns settings like where you've set your cnames and such
TripleK
TripleK8mo ago
This?
No description
Brody
Brody8mo ago
and those are the cnames railway gave you?
TripleK
TripleK8mo ago
yes only www works because is in the domain register dns
TripleK
TripleK8mo ago
No description
Brody
Brody8mo ago
not quite how it works, now that you are using cloudflare's nameservers anything in the original domain registrars settings do nothing
TripleK
TripleK8mo ago
Then why is it not working properly? Any ideas?
Brody
Brody8mo ago
so your root domain works for me, but it's still redirecting to the railway domain, this would be wordpress itself sending the redirect
TripleK
TripleK8mo ago
How do I change the redirection?
Brody
Brody8mo ago
that would be something you'd have to look into the WordPress documentation for maybe there's a way to trust the proxy in wordpress so that wordpress does know the incoming host start searching for that topic
TripleK
TripleK8mo ago
ok Thanks for the info. I have entered "fibbel.net" from my mobile phone and it still does not work. I get the error: ERR_CONECTION_REFUSED I dont know how, but it works now hahaha
Brody
Brody8mo ago
dns propitiation probably
TripleK
TripleK8mo ago
For sure