R
Railway9mo ago
Tyron

OVH/CloudFlare/Railway DNS

Since OVH does not support the root domains in the DNS tab, i create a cloudflare account (freeplan) and add the correct dns to ovh You can see on the picture i add correctly the CNAME for my both custom Domain When i hit : www.domain.com or domain.com i get : ERR_TOO_MANY_REDIRECTS ps : i clean cache, clean cookie and it's been 2 hours since i add the CNAME from railways and 4 since i change the DNS from cloudflare to OVH If you've already had this problem, how did you manage to fix it? If not, if you have any ideas on how to solve it, I'd love to hear from you. thanks in advance
No description
No description
No description
35 Replies
Percy
Percy9mo ago
Project ID: N/A
Tyron
Tyron9mo ago
Ok, i did this step :
If you have proxying enabled on Cloudflare (the orange cloud), you MUST set your SSL/TLS settings to full or above.
If you have proxying enabled on Cloudflare (the orange cloud), you MUST set your SSL/TLS settings to full or above.
And remove and add again the DNS 10 min ago Now i have :
DNS_PROBE_FINISHED_NXDOMAIN
DNS_PROBE_FINISHED_NXDOMAIN
I guess, i need to wait until tomorrow for the propagation or maybe clean cache from Cloudfare
Tyron
Tyron9mo ago
and idk if its an UI bug it change between that and "Waiting for DNS update"
No description
Cara Kessler
Cara Kessler9mo ago
@Tyron - i am having this same problem, did waiting resolve it?
Brody
Brody9mo ago
did you do what Tyron and I suggested?
Tyron
Tyron9mo ago
No, im still on toggle on Cloudfare proxy detected and back to Wainting for Dns update and i get :
ERR_TOO_MANY_REDIRECTS
ERR_TOO_MANY_REDIRECTS
then
DNS_PROBE_FINISHED_NXDOMAIN
DNS_PROBE_FINISHED_NXDOMAIN
I still looking for a solution i let you know if i find something @Cara Kessler and if not it's because i break my pc with a hammer 😂
Brody
Brody9mo ago
Tyrone, have you set your SSL mode to full?
Tyron
Tyron9mo ago
Yes i did
Tyron
Tyron9mo ago
No description
Brody
Brody9mo ago
what kind of app are you running
Tyron
Tyron9mo ago
I run a Nextjs App version : ^13.5.3
Brody
Brody9mo ago
send me the custom domain please can you make them clickable
Brody
Brody9mo ago
show me your domains in railway
Tyron
Tyron9mo ago
No description
Tyron
Tyron9mo ago
It always switch to that then to img above
No description
Brody
Brody9mo ago
how many times have you removed and added those
Tyron
Tyron9mo ago
Maybe 5 times
Brody
Brody9mo ago
okay, please don't do that you would only make things far worse are you sure you have the correct cnames?
Tyron
Tyron9mo ago
Ok, i will Yes, they are correct, i double check
Cara Kessler
Cara Kessler9mo ago
FYI mine started working! i removed all DNS records after i changed the SSL setting and then readded them all manually 🤷‍♀️
Brody
Brody9mo ago
please don't do that, it would only make things worse, just please be patient next time
Tyron
Tyron9mo ago
Did you disabled proxy on your DNS ? I think my issue is from propagation, i should probably wait tomorrow
Brody
Brody9mo ago
yes please have patience btw both of your links work for me now
Tyron
Tyron9mo ago
Ok nice might still have some cache in browser not working on my pc
Brody
Brody9mo ago
patience is key
Tyron
Tyron9mo ago
Ok sensei i will be patient next time
celebrations
celebrations9mo ago
another tip is to open the stuff in incognito to prevent browser cache from affecting anything
Brody
Brody9mo ago
also could be using an isp dns server and those keep cache around for a long time
celebrations
celebrations9mo ago
yeah
Tyron
Tyron9mo ago
Nothing to do with the issue but do you know if the issue with the Static image and the Image tag with Nextjs will be resolved soon ?
Brody
Brody9mo ago
im still on the belief that its a code issue
celebrations
celebrations9mo ago
You probably aren't correctly importing the image, i remember something about having to add the domain of the image to the scope which you may have forgotten to do
Tyron
Tyron9mo ago
I need to dig on that, i always import the img the same way across all my projet i.e :
import MyImgage from "path to public folder"
import MyImgage from "path to public folder"
and then add this in the image tag, that's so weird Anyway thx 🙂